Theme Docs

Theme Setup

How the pieces of this project fit together.

Frontend

Next.js App Router. Shared styling lives in app/globals.css, with the header and footer in components/.

Backend

API routes under app/api/ handle signup, login (via NextAuth), and saved data.

Database

Prisma with a User and Habit model. SQLite locally; swap to Postgres for production.