- Basic CRUD API utilizing sqlite database
- TTL Cache for database query results
- Open API Spec/Swagger endpoint
- initialize DB + migrations support
- stub external api call
- Unit + Integration tests
- Install Go
https://golang.org/doc/install - Table must exist in sqlite DB prior to using API. Create statement defined: 000001_create_items_table.up.sql
- TODO included to remove this manual step
Required for DB connection
Defined: config.go
Defined in Makefile
Run the server
make run
Build binary
make build
Run unit tests in Docker
make unit
Update docs within /docs directory: make build-swagger
Run server and navigate to url: localhost:1323/swagger/