Swagger: http://localhost:5015/swagger
Description | Method | URL | Body |
---|---|---|---|
Sign in | POST | /auth/signin | { "username": "username", "password": "password" } |
Sign up | POST | /auth/signup | { "username": "username", "password": "password" } |
Index user super heroes | GET | /superhero | |
Show user super hero | GET | /superhero/:id | |
Create user super hero | POST | /superhero | { "name": "string", "firstName": "string", "lastName": "string", "place": "string" } |
Update user super hero | PUT | /superhero/:id | { "name": "string", "firstName": "string", "lastName": "string", "place": "string" } |
Delete user super hero | DELETE | /superhero/:id |
- If
dotnet-ef
is not installed:dotnet tool install --global dotnet-ef
- Run migrations:
dotnet ef database update