go-rest-api

module
v0.0.0-...-edb9ed9 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0

README

Go Rest APIs - Gorpi

Gorpi is a highly opinionated REST API framework powered by Gin. The framework decides to provide few helpers and conventions which make it very straightforward to establish simple CRUD APIs.

Routing

Rails, the Ruby framework provides a method resources which defines the RESTful routes by default for the mentioned resource. It allows proper nesting of resources depending on where they are configured. Though slightly laborious to get to that level of efficiency in Go, the API layer will try to take the Rails resources as the guiding factor.

Database connections

Gorpi provides a database library on top of gorm to provide easy access to an ORM via the server object.

TODO

  • Authenticator
  • Database connection
  • Statistics
  • Background workers
  • Cache

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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