Drizzle
Initialize Drizzle in your app
Note
You may need to initialize the
env.ts first.1. Install dependencies
2. .env.local
Create a .env.local file in the root of your project and add the following:
3. Add DATABASE_URL to env.ts if needed
4. Folder Structure
Tree View
src
db
schema
index.ts
db.ts
index.ts
docker-compose.yml
drizzle.config.ts
Note
Remember to replace <project-name> with the name of your project.