Skip to content

Applying clean arquitecture to a dummy webserver written in Golang

License

Notifications You must be signed in to change notification settings

eduardogr/webser-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Applying clean arquitecture to a dummy webserver written in Golang

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published