Awesome
site
- Framework: Next.js
- Database: Postgres
- Deployment: Vercel
- Styling: Tailwind CSS
- Analytics: Vercel Analytics
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
- You are free to use this code as inspiration.
- Please do not copy it directly.
- Crediting the author is appreciated.
Please remove all of my personal information by running bun run delete
.