A personal task management app built with Next.js, Prisma, and PostgreSQL.
- Next.js (TypeScript)
- Prisma
- PostgreSQL
- Tailwind CSS
- next-auth - for authentication
npm installCopy the provided .env.example and adjust as needed.
cp .env.example .envYour .env file should look something like:
# .env
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/mollusca_dev"
NEXTAUTH_SECRET="your-random-secret"
NEXTAUTH_URL="http://localhost:3000"Make sure Docker is running, then:
docker compose up -d
npx prisma migrate dev npm run seednpm run devAccess the app at http://localhost:3000
mollusca/
├── prisma/ # Prisma schema, migrations, seeds
├── src/
│ ├── app/ # Next.js App Router (pages, API routes)
│ │ └── api/ # API routes (e.g., route.ts)
│ ├── components/ # React components (planned)
│ ├── lib/ # Shared utilities (Prisma Client, helpers)
│ └── styles/ # Tailwind CSS and global styles
├── public/ # Static assets
└── docker-compose.yml # Docker setup for PostgreSQL
- Setup with Next.js + Tailwind + Prisma
- Task CRUD API
- Auth with next-auth (credentials)
- User signup functionality
- Per-user task filtering
- Frontend UI for tasks
- Docker Compose setup improvements
- Automated testing (in progress)
- Deployment (AWS or Vercel planned)
API tests with Jest and Supertest. Run tests:
npm run testPostgreSQL runs via Docker Compose. Prisma Studio available with:
npx prisma studioNext.js App Router structure (src/app) is used. UI styling with Tailwind CSS.
MIT (planned)