/site

My site built with Next.js, Tailwind, and Vercel.

Primary LanguageMDX

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.