Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tien4112004/bistro-q-api
https://github.com/tien4112004/bistro-q-api
asp-net-core rest-api server
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tien4112004/bistro-q-api
- Owner: tien4112004
- Created: 2024-10-15T06:09:49.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-12-16T16:34:07.000Z (about 1 month ago)
- Last Synced: 2024-12-16T17:41:28.120Z (about 1 month ago)
- Topics: asp-net-core, rest-api, server
- Language: C#
- Homepage:
- Size: 349 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bistro-q-api
## Add migrations
```bash
dotnet ef migrations add --project BistroQ.Infrastructure --startup-project BistroQ.API --context BistroQ.Infrastructure.Data.BistroQContext --configuration Debug --verbose AutoCreateOrderIdAndOrderItemId --output-dir Migrations
```## Apply migrations
```bash
dotnet ef database update --project BistroQ.Infrastructure --startup-project BistroQ.API --context BistroQ.Infrastructure.Data.BistroQContext --verbose
```## Run the test
### Using `dotnet` CLI
```bash
dotnet test
```### Using Visual Studio/Jetbrains Rider
Run the test using the Test Explorer/Test Runner in the IDE.