webser-go

module
v0.0.0-...-88a9cf2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: Apache-2.0

README

webserver-go


Bootstrapping web-server-go

Installations needed

  • go
  • docker
  • docker-compose

Running

  • make wire
  • make build
  • make up
    • verify you are running this with proper permissions

exposed API

/api/v0
Do nothing now, just to be an example for a multiple api/vX format in router.go file

GET /api/v1/numbers, return all numbers stored

POST /api/v1/numbers -d '{"ID":11}', creating a number in the storage

TODO

  • Migrations of the DDBB schema
  • Implement the concept of external provider for secrets
  • Complete API documentation for clients' usage
  • Improve docker image building for go mod download slow down
  • Testing when initializing database schema did not work
  • Adding tests for api specifications. Package pkg.server
  • Adding tests for pkg.repository package
  • Adding tests for pkg.api package

Directories

Path Synopsis
cmd
pkg
api

Jump to

Keyboard shortcuts

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