FinalWebApi is a REST API app that is built using .NET 6 Framework generated using dotnet new webapi
command.
This repo contains 2 .NET projects:
- FinalWebApi.API: contains REST API code.
- FinalWebApi.Tests: contains testing code for the FinalWebApi.API project.
To run migration i.e generating tables, use command dotnet-ef database update
.
To run the project. Either use available C# IDE (JB Rider, Visual Studio, VS Code). Or using command dotnet run
. But using command you'll lose debugger capability.
To run testing use command dotnet test
or use your favorite IDE.
Swagger page will automatically launced on the browser. You can use swagger to play around with the endpoint.
Can see video recording at https://youtu.be/4bPSIRmKZZo