# GerbilManager

- `GerbilManagerWebAPI/` — ASP.NET Core backend (Swagger unter `/swagger`)
- `gerbil-manager-web/` — React-Frontend (Vite + TypeScript), siehe `gerbil-manager-web/README.md`

# Requirements
Install ef:

dotnet tool install --global dotnet-ef

# Used cmd´s
## Start containers
docker compose up
## Create the initial database
dotnet ef database update
## Create an migration script
dotnet ef migrations add <name>

## Docker
### force compose rebuild
docker-compose build --no-cache

## Frontend (gerbil-manager-web)
cd gerbil-manager-web
npm install
npm run dev


TODO:
- Backup docker volume database 
- run "dotnet ef database update" if no database exist.