Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 1.49 KB

README.md

File metadata and controls

38 lines (34 loc) · 1.49 KB

mini-aspire-api

Assumptions/Tradeoffs

Requirements

  • Golang 1.18
  • Install necessary tools using make tools

To run

  • Make a copy of config.env using cp config.env config_local.env
  • Start the containers using make dep-up
  • Run migrations using make migrate-up
  • Start the application using make run

For running tests

Unit test

  • Mocks should be generated first using make generate
  • Run the tests using make test

Feature Tests

  • Start the server make run
  • Run the test make ftest

Docs