An open API service indexing awesome lists of open source software.

https://github.com/miljan-code/drizzle-postgres-setup

An example setup project for NextJS, Drizzle ORM and Postgres
https://github.com/miljan-code/drizzle-postgres-setup

Last synced: 4 months ago
JSON representation

An example setup project for NextJS, Drizzle ORM and Postgres

Awesome Lists containing this project

README

          

An example setup project for NextJS, Drizzle ORM and Postgres.

## Usage

Clone this repo

```bash
git clone https://github.com/miljan-code/drizzle-postgres-setup.git
```

Install necessary dependencies

```bash
npm install
# or
yarn
```

Add Supabase DB URL to .env

```env
DATABASE_URL=postgres://admin:admin@0.0.0.0:5543
```

Run the development server

```bash
npm run dev
# or
yarn dev
```