Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.39 KB

README.md

File metadata and controls

54 lines (42 loc) · 1.39 KB

Deploy with Vercel

frvncisco.me

Running Locally

This application requires Node.js v18.17+.

git clone https://github.com/frvncisco/frvncisco-dot-me-portfolio.git
cd frvncisco-dot-me-portfolio.io
bun install
bun dev

Create a .env.local file similar to .env.example.

Database Schema

CREATE TABLE redirects (
  id SERIAL PRIMARY KEY,
  source VARCHAR(255) NOT NULL,
  destination VARCHAR(255) NOT NULL,
  permanent BOOLEAN NOT NULL
);

CREATE TABLE guestbook (
  id SERIAL PRIMARY KEY,
  email VARCHAR(255) NOT NULL,
  body TEXT NOT NULL,
  created_by VARCHAR(255) NOT NULL,
  created_at TIMESTAMP NOT NULL,
  updated_at TIMESTAMP
);

CREATE TABLE views (
  slug VARCHAR(255) PRIMARY KEY,
  count INT NOT NULL
);

License

  1. You are free to use this code as inspiration.
  2. Please do not copy it directly.
  3. Crediting the author is appreciated.