An open API service indexing awesome lists of open source software.

https://github.com/hvalfangst/aspnet-9-api

REST API in C# utilizing ASP .NET Core with Dapper
https://github.com/hvalfangst/aspnet-9-api

asp-net asp-net-core asp-net-core-web-api csharp dapper dotnet-9 net nsubstitute

Last synced: 6 months ago
JSON representation

REST API in C# utilizing ASP .NET Core with Dapper

Awesome Lists containing this project

README

          

# ASP.NET Core 9 API with Dapper

## Requirements

- **Platform**: x86-64, Linux/WSL
- **Programming Language**: [Dotnet 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0)

## Allocate resources & run API
The shell script [up](up.sh) creates a Postgres container via [docker-compose](infra/db/heroes/docker-compose.yml) and serves our ASP.NET API on port 5000.

## Deallocate resources
The shell script [down](down.sh) deallocates resources by stopping and removing the PostgreSQL container.

## Postman

A Postman [collection](postman) has been provided to test the API.