This is a project boilerplate web api for asp.net core, designed using clean arquitecture, it comes with logging (serilog), authentication (signed cookie), swagger, exception and error handling configured and implemented:
Use these instructions to get the project up and running.
You will need the following tools:
Follow these steps to get your development environment set up:
-
Clone the repository
-
Set DbConnection string either on the appsettings.json file or on the os enviroment variables (recommended way).
-
At the root directory, restore projects:
dotnet restore
-
Within the
src.Infrastructure
directory, run database migrations:dotnet ef database update
-
Within the
src.Web
directory, run:dotnet run
-
Launch https://localhost:5001/swagger in your browser to view the endpoints.
- .NET Core 2.2
- ASP.NET Core 2.2
- Entity Framework Core 2.2
This project is licensed under the MIT License - see the LICENSE.md file for details.