Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ribice/chisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chisk - Golang stdlib REST starter kit

Build Status codecov Go Report Card

Chisk - (go-chi starter kit), is a starter kit for building RESTful APIs using Golang stdlib only (with 3rd party libs being used for integrations, e.g. Redis, PostgreSQL).

It features only structured package management, middleware and reusable packages - READ WHY.

Chisk's project structure mostly follows THIS example repository.

Wiring up new services

  1. Create a new directory inside /internal/ named after your domain, e.g. team. Inside it, create a file named team.go that will hold your main application service code (CRUD). Other application service code should be located in the same directory/package, named after its usage.

  2. Directory /internal/team/platform/ contains platform integrations, e.g. redis, postgresql, email, sms etc.

  3. Directory transport contains http handlers, binders, request/response models, swagger annotations and other transport related code.

  4. Wire up new service inside cmd/service_name/main.go, or use a single service ('monolith') like api.

License

chisk is licensed under the MIT license. Check the LICENSE file for details.

Author

Emir Ribic

About

Golang stdlib Restful Starter Kit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published