Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evanshortiss/drizzle-neon-serverless-quickstart
A simple example of how to use Drizzle with Neon's Serverless Driver
https://github.com/evanshortiss/drizzle-neon-serverless-quickstart
Last synced: 22 days ago
JSON representation
A simple example of how to use Drizzle with Neon's Serverless Driver
- Host: GitHub
- URL: https://github.com/evanshortiss/drizzle-neon-serverless-quickstart
- Owner: evanshortiss
- Created: 2024-01-16T17:57:56.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-16T18:12:01.000Z (10 months ago)
- Last Synced: 2024-04-09T13:09:27.647Z (7 months ago)
- Language: TypeScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Neon Serverless Driver & Drizzle Quickstart
Requires Node.js v18.
## Usage
```bash
git clone [email protected]:evanshortiss/drizzle-neon-serverless-quickstart.git drizzle-and-neon
cd drizzle-and-neon# Add your DATABASE_URL
cp .env.example .env
vi .env# Install dependencies, use drizzle to generate shemas and push them to the
# database, then seed data into your database using the included script
npm i
npm run drizzle:generate
npm run drizzle:push
npm run seed# Start the application in dev mode and query the database
npm run dev
```