To statup project, edit:
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\<YourLocalDb>;Database=SaleAPIDb,Trusted_Connection=True"
}
##In appsettings.json
Change on your local database name
For your local bases names use in terminal:
sqllocaldb i
After that use Update-Database
in Package Manager Console, than build and start SaleAPI and BuyerAPI.
The Swagger UI is an open source project to visually render documentation for an API defined with the OpenAPI (Swagger) Specification
-
https://localhost:5001/swagger/index.html
Authorization:
- Username: Admin
- Password: Admin