this repository contains source code of RESTful API XSIS Test Assignment
Using Golang with RESTful API Go-Chi routing framework. it has contains unit test and Dependency Injection layer.
- Golang Version 1.21
- GORM
- PostgreSQL
- Docker
- Make
Simply run
make build
NOTE : make sure to create your own .env file. otherwise it would not work!. example provided
The database schema table is automatically migrated when you perform the command above, no need to create manually.
NOTE : Please install make first in order to run makefile command
Simply run
make test_cover
or if you want to look at html view
make test_cover_html
simply run
make down