OnlineStore.Api
1.0.0
The project was developed using .NET SDK version 5.0.2 using ASP .NET Core v 5 and Mysql server version 5.7.21 as a database.
To run the api, just run the following command in the cli from the root of the project:
dotnet run
To access the endpoints using swagger run the api as follows:
dotnet run environment=development
Access the Api through https://localhost:5001/api and the api documentation given by Swagger through https://localhost:5001/swagger/
A sql script with the schema and initial database data called OnlineStore.sql is included in the project root.
However, if you do not want to use the script, a database seeder with 3 users is integrated, one for each role.