This project is a simple to-do application. It allows you to add a to-do, create groups to manage your to-dos with your friends, and manage your account. It was developed by Loïc, Maxime & Valentin as part of a student project (awarded the highest grade).
- TypeScript
- NextJS
- TailwindCSS
- Bun
- ExpressJS
- Sequelize
- Postgres
- Vercel
- Bun
- Bruno
Prerequisite: Bun must be installed. All scripts use
buninstead ofnpm.
bun icd server && cp .env.example .envSet a JWT_SECRET and your Postgres credentials in the .env file.
Note: Use 127.0.0.1 instead of localhost (if applicable) to avoid connection issues.
All scripts are run from the project root with bun run <script>.
| Script | Description |
|---|---|
dev |
Start frontend and server in parallel (requires a running Postgres instance) |
dev:all |
Start frontend, server, and the Docker Compose database in parallel |
dev:server:db |
Start only the database via Docker, then the server (waits 3s for DB to be ready) |
dev:frontend |
Start only the Next.js frontend in dev mode |
dev:server |
Start only the Express server with hot reload via bun --watch |
build |
Build both frontend and server |
build:frontend |
Build only the Next.js frontend |
build:server |
Compile and build only the server |
lint:frontend |
Run ESLint on the frontend |
typecheck:server |
Run TypeScript type checking on the server (no emit) |
db |
Start the Postgres database via Docker Compose |
With an external Postgres instance already running:
bun run devWith the bundled Docker Compose database:
bun run dev:allThen open your browser and head to http://localhost:3000.