Skip to content

beforeoafterm/beforeoafterm.io

Repository files navigation

Deploy with Vercel

beforeoafterm.io

Running Locally

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

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.