Stack
- Frontend: Next.js (App Router), React, Tailwind, Framer Motion, D3
- Backend: Node.js, Express, Apollo Server
- Database: PostgreSQL + Prisma
- Auth: NextAuth.js with Prisma Adapter
- Deployment: Vercel (web), Railway/Supabase (server/DB)
Getting Started
- Ensure Postgres is running and update
DATABASE_URLin.envat the repo root. - Install deps and generate Prisma client:
npm installnpm run -w @devsoc/db generate
- Start both apps:
npm run dev
- Visit web at
http://localhost:3000and GraphQL athttp://localhost:4000/graphql.
Auth
- Sign in via Credentials using any email to create a user.
Notes
- Shared Prisma client lives in
packages/db.