Simple RESTful API built with ASP.NET Core 3.1 to show how to create RESTful services using a decoup...
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Simple RESTful API built with ASP.NET Core 3.1 to show how to create RESTful services using a decoupled, maintainable architecture.
If you want to download the original code showed on the tutorial, download the 1.0.0 tag.
1.3.0 [December 15, 2019]
1.2.1 [August 11, 2019]
BaseResponseto use generics as a way to simplify responses (see #3).
1.2.0 [July 15, 2019]
/api/productsendpoint to allow pagination (see #1).
1.1.0 [June 18, 2019]
1.0.0 [February 4, 2019]
First, install .NET Core 2.2. Then, open the terminal or command prompt at the API root path (
/src/Supermarket.API/) and run the following commands, in sequence:
dotnet restore dotnet run
https://localhost:5001/api/categoriesto check if the API is working. If you see a HTTPS security error, just add an exception to see the results.
https://localhost:5001/swaggerto check the API documentation.
To test all endpoints, you'll need to use a software such as Postman.