- git clone
- create dev.toml from default.toml
- replace db values with your username and password to connect to mysql
- run migrations
APP_ENV=dev go run cmd/migration/main.go up
- run server
APP_ENV=dev go run cmd/api/main.go
Did not get much time to add a lot of tests. have skipped unit tests and added functional test for happy flow for loan. Have mentioned possible test cases in loan_test.go