Simple REST API for Products, using ASP.NET Core 5.0
- Clone the repository
- Open the
ProductApi.sln
file in your favourite IDE - Run the application
- Visit
http://localhost:5001/api/products/
in your browser
- Run
docker build -t aspnetapp .
from the root directory - Run
docker run -it --rm -p 5001:80 aspnetapp
- Visit
http://localhost:5001/api/products/
in your browser
cd ProductApi.Tests
dotnet test
After running the application, visit https://localhost:5001/swagger/
to get an overview over available services.