This is Tornea, a Next.js app: UI plus server-rendered pages under src/app, business logic in src/logic, and Postgres access in src/db (via pg).
Architecture: see docs/ARCHITECTURE.md and docs/DATABASE.md.
Copy .env.example to .env.development.local and set DATABASE_URL. Omit it if you only want to run without a database (health checks report skipped).
| Command | Purpose |
|---|---|
npm run dev |
Development server (Turbopack) |
npm run build |
Production build |
npm run start |
Serve the production build |
npm run prod |
build then start |
Edit the home screen in src/app/page.tsx.