My personal Nextjs + Postgresql + Drizzle (with postgresql driver)
- TypeScript 80.2%
- JavaScript 19%
- CSS 0.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
/ test (push) Successful in 5s
File Changed/Added: - /src/app/autorefresh.tsx - /src/app/page.tsx Add a client-side AutoRefresh component that calls router.refresh() on a configurable interval (set to 1000 ms). |
||
| .forgejo/workflows | ||
| src | ||
| .gitignore | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
Nextjs PostgreSQL Drizze Project
Requirements
Make sure you have the following installed on your system:
Git (2.55.0 or newer)
Node.js (v24.20.0 LTS or newer)
Docker/Podman (Optional)
How To Run This Project
- Clone repository
git clone http://URL/bert093/Nextjs-Postgresql-Drizzle.git
cd cd Nextjs-Postgresql-Drizzle
- Install package/dependency:
npm i # (or bun install)
- Run the development server:
npm run dev
- Environment Variable
# .env file
# postgresql://[user]:[password]@[host]:[port]/[database_name]
DATABASE_URL=postgresql://johndb:postgrepass@100.79.18.69:5432/mydb
TechStack & Tools
- Next.js
- Tailwind CSS
- Typescript
- Node.js
- Docker/Podman
- postgres.js
- Drizzle ORM