A modern Next.js application for invoice management with authentication and Prisma-backed persistence.
- Next.js 16 app router
- NextAuth authentication flows for sign in / sign up
- Prisma + SQLite (or configured database) for user and invoice data
- Tailwind CSS styling
- Auth-protected dashboard
Install dependencies:
npm installGenerate Prisma client and run the development server:
npm run devOpen http://localhost:3000 in your browser.
npm run dev- start development servernpm run build- generate Prisma client and build the appnpm run start- start the production servernpm run lint- run ESLintnpm run prisma:generate- generate Prisma clientnpm run prisma:migrate- run Prisma migrations locallynpm run prisma:deploy- deploy Prisma migrations
src/app/- application routes and pagessrc/components/- reusable React componentssrc/lib/- authentication and Prisma helperssrc/prisma/schema.prisma- Prisma schema
This app includes sign in and sign up pages under:
/auth/signin/auth/signup
After signing in, the dashboard is available at /dashboard.
This project is configured for Next.js v16 with Tailwind CSS v4 and Prisma v7.