Added distributionboards
This commit is contained in:
@@ -7,12 +7,15 @@ TypeScript backend for electrical power-balance planning.
|
||||
1. `npm install`
|
||||
2. `npm run db:generate`
|
||||
3. `npm run db:migrate`
|
||||
4. `npm run dev`
|
||||
4. `npm run dev:api`
|
||||
5. `npm run dev:web`
|
||||
|
||||
## Commands
|
||||
|
||||
- `npm run dev`: Start API server
|
||||
- `npm run build`: TypeScript build
|
||||
- `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
|
||||
@@ -22,6 +25,7 @@ TypeScript backend for electrical power-balance planning.
|
||||
- `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`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user