Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gustavocadev/nextjs-drizzle-orm-sqlite
Example Drizzle ORM + Next.js + SQLite
https://github.com/gustavocadev/nextjs-drizzle-orm-sqlite
drizzle-kit drizzle-orm nextjs sqlite
Last synced: 4 days ago
JSON representation
Example Drizzle ORM + Next.js + SQLite
- Host: GitHub
- URL: https://github.com/gustavocadev/nextjs-drizzle-orm-sqlite
- Owner: gustavocadev
- Created: 2023-07-16T19:49:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-05T18:50:53.000Z (3 months ago)
- Last Synced: 2024-08-05T21:59:48.261Z (3 months ago)
- Topics: drizzle-kit, drizzle-orm, nextjs, sqlite
- Language: TypeScript
- Homepage:
- Size: 185 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example of Next.js + Drizzle ORM + SQLITE
Steps to run the project:
1. Create a file named `.env` in the root directory and add the following environment variables:
```bash
DB_URL='notes.sqlite'
```2. Run `bun install` command to install dependencies
3. Run `bun run db:push` command to create the database and tables
4. Run `bun run dev` command to start the development server