Ecosyste.ms: Awesome
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: 7 days 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-14T07:19:21.000Z (over 1 year ago)
- Last Synced: 2024-10-16T05:47:27.915Z (21 days ago)
- Language: TypeScript
- Homepage:
- Size: 106 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:[email protected]:5543
```Run the development server
```bash
npm run dev
# or
yarn dev
```