DanielStott / BaseApi

Base C# API
5 stars 0 forks source link

BaseApi

BaseApi is a .NET Core 7.0 Web API project that uses Docker containers for development and deployment. It is a starting point for building a new API project. Contains both Sql and Mongo examples. The project is built using the following technologies:

Installation

Requirements

Running

Api Project

Run the Api project inside your IDE or using the following command:

dotnet run --project Api 

Postman Collection

A Postman collection is available in the script directory. This collection contains some useful requests for testing the API.

Testing

Contains integration test framework using WebApplicationFactory and NUnit.

Integration Tests

Run the IntegrationTests project inside your IDE or using the following command:

dotnet test