adhar-api-server

command module
v0.0.0-...-fce1733 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL