Skip to content

johnscode/go-chi-microservice-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-chi-microservice-template

A simple boilerplate microservice template using golang and chi

This app template makes it pretty easy to get a server and a set of REST endpoints up and running. The template models a simple user service and is based off the rest example from the chi repository.

This app template is already setup with logging and configuration using the server environment. Environment is used for configuration rather than files to discourage the use of secrets files (which is a whole other conversation)

Zerolog is used for logging due to its efficiency and versatile formatting rather than the builtin log module.

To Do

  • implement Put, Post and Delete on user
  • implement user search
  • dockerize it
  • database (mongo, postgres, ???)
  • gRPC and GraphQL endpoints (or maybe separate templates???)

About

a boilerplate microservice template using golang and chi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages