Skip to content

kanene/CommunityStandUpMinimalAPI

 
 

Repository files navigation

Todo REST API with ASP.NET Core

Todo REST API samples using ASP.NET Core minimal APIs. It showcases:

  • Using EntityFramework and SQLite for data access
  • JWT authentication
  • OpenAPI support
  • Rate Limiting
  • Writing tests for your REST API

Prerequisites

.NET

  1. Install .NET 7

Database

  1. Install the dotnet-ef tool: dotnet tool install dotnet-ef -g
  2. Navigate to the TodoApi folder and run dotnet ef database update to create the database.
  3. Learn more about dotnet-ef

Authentication

  1. Run dotnet user-jwts create --claim id=myid
  2. You should be able to use this JWT token to make requests to the endpoint
  3. Learn more about user-jwts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.5%
  • Shell 0.5%