- Framework: Next.js
- Database: Postgres
- Authentication: NextAuth.js
- Deployment: Vercel
- Styling: Tailwind CSS
- Analytics: Vercel Analytics
This application requires Node.js v18.17+.
git clone https://github.com/beforeoafterm/beforeoafterm.io.git
cd beforeoafterm.io
yarn install
yarn dev
Create a .env.local
file similar to .env.example
.
cp .env.example .env.local
CREATE TABLE redirects (
id SERIAL PRIMARY KEY,
source VARCHAR(255) NOT NULL,
destination VARCHAR(255) NOT NULL,
permanent BOOLEAN NOT NULL
);
- You are free to use this code as inspiration.
- Please do not copy it directly.
- Crediting the author is appreciated.