Add a Go implementation of the TodosApi "stage 2" app

Open
#1,868 5 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go

Research direction

Start by comparing the referenced TodosApi stage 2 application in the aspnet/Benchmarks repository with the requested Go port. Resolve the framework choice first, then map the database-backed Todo API, validation, health checks, JWT authentication, and JSON Problem Details requirements. Done means the Go implementation provides all listed behaviors and has matching validation and error-response coverage.

Written by the indexing model from the issue text.

Description

It should be a Go port of https://github.com/aspnet/Benchmarks/tree/main/src/BenchmarksApps/TodosApi and thus include:

  • HTTP API for reading/adding/updating/deleting Todos from a database, including validation
  • Health checks for the database and JWT configuration
  • JWT authentication for the delete API
  • Error response formatting as JSON Problem Details

Which framework should it use? Gin?
https://dev.to/xngwng/top-5-go-rest-api-frameworks-k0e
https://nordicapis.com/7-frameworks-to-build-a-rest-api-in-go/
https://www.slant.co/topics/1412/~best-web-frameworks-for-go

Dominant language
C#
Stars
1.2k
Forks
244
Avg merge
4d 4h
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aspnet/Benchmarks

All issues in aspnet/Benchmarks

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.