next-drizzle-orm-tailwind Tailwind Templates

Next Drizzle Orm Tailwind

A next.js drizzle , postgres (docker), tailwind project to try out CRUD operations and generate / push Drizzle migrations

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm install 
# run the next.js server[http://localhost:3000]
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Docker Postgres run and connect to postgres db via adminer

docker compose up
# Docker Postgres run

# verify adminer (to connect to your postgres) running @ locahost:8080
locahost:8080

Generate migrations (SQL files from schema and push to postgres)


# Drizzle migration run -- to generate migration sql files (commands mentioned in package.json under scripts)
npm run migration:generate
# Drizzle migration push
npm run migration:push
# verify from adminer if table(s) got created (to connect to your postgres) running @ 
locahost:8080

Top categories

Loading Svelte Themes