go-rest-api

command module
v0.0.0-...-976adb4 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 6 Imported by: 0

README

Go Report Card Go Known Vulnerabilities

Learning roadmap

Learnings Go concepts using the classical Book API: Dockerized and tested API, connected to database, with logs and authent management...

  • ✓ Manage CRUD
  • ✓ Dockerize the API
  • ✓ Dockerize a database
  • ✓ Use this database from API
  • ✓ Use UUID instead of integer
  • ✓ Better handler and validator management, using gin-gonic/gin & loopfz/gadgeto/tonic
  • ✓ Setup CI
  • ✓ Improve integrations tests, using ovh/venom
  • ✓ Use juju/errors
  • ✓ Generate swagger
  • ✓ Manage migrations neatly, using rubenv/sql-migrate
  • Keep HTTP calls logs
  • Add broker message using
  • Manage authentication
  • Add channel using example

Questions

  • How to manage pagination?
  • Use ORM?

To make it work

$ cp docker-compose.override.yml.dist docker-compose.override.yml

Prerecommit hook is setting up, using pre-commit

To launch tests

$ cd tests/venom
$ venom run

Swagger

Go to /swagger.json

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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