[go: nahoru, domu]

Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.08 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.08 KB

Deploy with Vercel

site

Running Locally

This application requires Node.js v18.17+.

git clone https://github.com/leerob/site.git
cd site
bun install
bun run delete # Remove all of my notes
bun dev

Optional: Create a .env.local file with your POSTGRES_URL environment variable to store redirects.

Database Schema

CREATE TABLE redirects (
  id SERIAL PRIMARY KEY,
  source VARCHAR(255) NOT NULL,
  destination VARCHAR(255) NOT NULL,
  permanent BOOLEAN 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.

Please remove all of my personal information by running bun run delete.