first commit
This commit is contained in:
commit
c3e98af5b6
36 changed files with 4779 additions and 0 deletions
27
README.md
Normal file
27
README.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# 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`
|
||||
|
||||
## Commands
|
||||
|
||||
- `npm run dev`: Start API server
|
||||
- `npm run build`: TypeScript 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/consumers/projects/:projectId`
|
||||
- `POST /api/consumers`
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue