Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.16 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.16 KB

GO RESEARCH

Research Milestones:

Milestone 1

  • 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

Summary

  • Go local modules import was a nightmare to setup but makes sense after it
  • Gin official documentation is uglier than latinoamerica's corruption stats
  • Coming from python, syntax makes sense and shows huge potential

Resources:

Milestone 2

  • Research async implementation approach
  • Use schema/model validation on queries
    • Validate mandatory and optional body fields

Summary

  • Async way to go: Go-rutines
  • Basic validation is out of the box. Complex could be solved using go-playground validator

Milestone 3

  • Try simple connection to sqlite DB
    • Create own docker container
  • Add unitesting
    • Create own docker container