Skip to content

adhar-io/adhar-api-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adhar-API-Server

API Server component of Adhar platform. Both Adhar-CLI and Adhar-Console usages the API's exposed by this component

Getting Started

An opinionated starter for Go Backend projects using:

  • gin-gonic/gin as the REST framework
  • logrus for logging
  • viper for configs
  • Docker for containerization

To be added:

  • sqlc for type-safe SQL Go code generation
  • golang-migrate/migrate for migration
  • jwt authentication
  • casbin authorization
  • prometheus monitoring

Docker support

Run make docker-build-run to build the command and run the container. Note that the port is set as 8080 by default.

Verify by checking localhost:8080/ping. You should receive a pong

Contributing

Feel free to raise a PR with one of the features from "To be added" section.

If you want a new feature PR, raise an issue to discuss about it.