- Boot single endpoint
- Containerize project
- Add hot reload for dev
- Configure backend API in seperate files
- Extra: Look for pydantic alternative for q. params and payload
Go
local modules import was a nightmare to setup but makes sense after itGin
official documentation is uglier than latinoamerica's corruption stats- Coming from
python
, syntax makes sense and shows huge potential
- https://rpereira.pt/programming/setup-docker-for-go-development/
- https://developpaper.com/learn-the-validator-library-of-gin-frameworks-parameter-validation-this-article-is-enough/
- Research async implementation approach
- Use schema/model validation on queries
- Validate mandatory and optional body fields
- Async way to go: Go-rutines
- Basic validation is out of the box. Complex could be solved using go-playground validator
- Try simple connection to sqlite DB
- Create own docker container
- Add unitesting
- Create own docker container