An example setup project for NextJS, Drizzle ORM and Postgres.
Clone this repo
git clone https://github.com/miljan-code/drizzle-postgres-setup.git
Install necessary dependencies
npm install
# or
yarn
Add Supabase DB URL to .env
DATABASE_URL=postgres://admin:admin@0.0.0.0:5543
Run the development server
npm run dev
# or
yarn dev