Hjelper voksne (23+) som mangler seks fellesfag til GSK å stå til eksamen på første forsøk.
- AI‑studierådgiver: ukeplan, frister, forslag til oppmelding
- Videokurs per fag: mikro‑moduler med kapitler og quiz
- Øvingshub: eksamenssett, timer‑modus, AI‑gjennomgang
- Muntlig‑trener (beta): tale→tekst, rubric, konkrete forbedringer
Målgruppe: 23/6‑kandidater (privatister) og yrkesfag som bygger mot GSK. Se også ../plan.md for mer detaljer.
This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
# from repo root
cd web
npm install
npm run dev -- --port 3001Open http://localhost:3001 with your browser.
You can start editing the page by modifying src/app/page.tsx. The page auto-updates as you edit the file.
src/app/App Router routes (pages, API)src/lib/shared libs (e.g. Prisma client)prisma/schema.prismadatabase schemasrc/generated/prismagenerated Prisma Client (ignored by linter)
Create a .env file in web/ with at least:
# Postgres connection string (Supabase or local)
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/gsk?schema=public"
# Stripe (placeholders)
STRIPE_SECRET_KEY="sk_test_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
# Mux (placeholders)
MUX_TOKEN_ID=""
MUX_TOKEN_SECRET=""
# Auth (placeholders)
NEXTAUTH_SECRET=""
NEXTAUTH_URL="http://localhost:3001"Tip: copy this template into .env and adjust values.
- Define models in
prisma/schema.prisma - Generate client:
npx prisma generate- Run migrations (when a database is configured):
npx prisma migrate dev --name initHealth check endpoint (no DB required): GET /api/health returns { ok: true, db: false|true }.
- Next.js 15 (App Router, TS, Tailwind)
- Prisma + PostgreSQL (Supabase compatible)
- ESLint (flat config)
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.