Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eduardogr/webser-go
Applying clean arquitecture to a dummy webserver written in Golang
https://github.com/eduardogr/webser-go
clean-architecture golang webserver
Last synced: about 2 months ago
JSON representation
Applying clean arquitecture to a dummy webserver written in Golang
- Host: GitHub
- URL: https://github.com/eduardogr/webser-go
- Owner: eduardogr
- License: apache-2.0
- Created: 2021-02-13T17:49:14.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-13T16:21:20.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T17:05:22.633Z (7 months ago)
- Topics: clean-architecture, golang, webserver
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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 fileGET /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