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
- Host: GitHub
- URL: https://github.com/miljan-code/drizzle-postgres-setup
- Owner: miljan-code
- Created: 2023-06-12T14:13:08.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-09T11:00:22.000Z (over 1 year ago)
- Last Synced: 2024-11-09T12:16:49.436Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 161 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```