Skip to content

learnwithjason/drizzle-sqlite-basic-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Drizzle + SQLite Node App

This is a bare bones Node app that uses:

This was built as part of a get started with Drizzle + SQLite guide I wrote as I was trying to figure out how Drizzle works.

Quickstart

# clone the repo
gh repo clone learnwithjason/drizzle-sqlite-basic-example
cd ./drizzle-sqlite-basic-example/

# install deps
npm i

# initialize the database
npm run db:generate
npm run db:push

# start the dev server
npm run dev

Right now index.ts will continually add more entries to the database. After running, you can review the data in Drizzle Studio:

npm run db:studio

About

Minimal Drizzle + SQLite Node app setup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published