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
- Host: GitHub
- URL: https://github.com/hvalfangst/aspnet-9-api
- Owner: hvalfangst
- Created: 2024-02-16T19:18:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-02T08:58:01.000Z (10 months ago)
- Last Synced: 2025-02-01T10:25:37.103Z (8 months ago)
- Topics: asp-net, asp-net-core, asp-net-core-web-api, csharp, dapper, dotnet-9, net, nsubstitute
- Language: C#
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.