This app is fully AI-generated, do not take it's code style seriously
Internal HR web application for running one-time and repeatable polls, managing users and roles, sending notifications, and maintaining a knowledge base. Includes authentication (email/password and OAuth-style accounts via Better Auth).
- Runtime: Node.js 22, TypeScript
- Framework: Next.js (App Router), React 19
- UI: Tailwind CSS, Radix UI, shadcn-style components
- Data: PostgreSQL, Prisma ORM
- Auth: Better Auth
- Tooling: Yarn (Berry), Biome (lint/format), Vitest, Playwright
- Deploy: Docker (multi-stage build, Next.js standalone output)
| Command | Description |
|---|---|
yarn dev |
Development server (Turbopack, HTTPS) |
yarn build |
Production build |
yarn start |
Start production server |
yarn lint |
Run Biome check with fixes |
yarn format |
Format with Biome |
yarn test:vitest |
Unit tests (Vitest) |
yarn test:playwright |
E2E tests |
yarn test:playwright:ui |
Playwright UI mode |
yarn test:start |
Run standalone server locally on port 3000 |
yarn prisma:generate |
Generate Prisma Client |
yarn prisma:studio |
Open Prisma Studio |
yarn prisma:push |
Push schema to DB (dev) |
yarn prisma:pull |
Introspect DB into schema |
yarn prisma:migrate |
Create/apply migrations (dev) |
yarn prisma:seed |
Seed database |
yarn prisma:clear |
Clear tables (script) |
Set DATABASE_URL and other env vars required by the app before build, migrate, or run.