No description
Find a file
2026-05-01 17:07:56 +02:00
docs first commit 2026-04-30 18:22:10 +02:00
src Rewrite frontend, added rooms, voltage selection per project, startet with todos 2026-05-01 17:07:56 +02:00
tests first commit 2026-04-30 18:22:10 +02:00
.gitignore First frontend 2026-04-30 21:37:21 +02:00
AGENTS.md Rewrite frontend, added rooms, voltage selection per project, startet with todos 2026-05-01 17:07:56 +02:00
drizzle.config.js first commit 2026-04-30 18:22:10 +02:00
drizzle.config.ts first commit 2026-04-30 18:22:10 +02:00
index.html first commit 2026-04-30 18:22:10 +02:00
next-env.d.ts Added distributionboards 2026-04-30 21:43:45 +02:00
next.config.mjs First frontend 2026-04-30 21:37:21 +02:00
package-lock.json Rewrite frontend, added rooms, voltage selection per project, startet with todos 2026-05-01 17:07:56 +02:00
package.json Rewrite frontend, added rooms, voltage selection per project, startet with todos 2026-05-01 17:07:56 +02:00
README.md Added distributionboards 2026-04-30 21:43:45 +02:00
styles.css first commit 2026-04-30 18:22:10 +02:00
tsconfig.json first commit 2026-04-30 18:22:10 +02:00
tsconfig.next.json First frontend 2026-04-30 21:37:21 +02:00

Leistungsbilanz

TypeScript backend for electrical power-balance planning.

Setup

  1. npm install
  2. npm run db:generate
  3. npm run db:migrate
  4. npm run dev:api
  5. npm run dev:web

Commands

  • npm run dev:api: Start API server on port 3000
  • npm run dev:web: Start Next.js frontend on port 3001
  • npm run build:api: TypeScript backend build
  • npm run build:web: Next.js frontend build
  • npm run test: Calculation tests
  • npm run db:generate: Generate migrations
  • npm run db:migrate: Apply migrations

Current API

  • GET /health
  • GET /api/projects
  • POST /api/projects
  • GET /api/projects/:projectId/distribution-boards
  • POST /api/projects/:projectId/distribution-boards
  • GET /api/consumers/projects/:projectId
  • POST /api/consumers