- Add a .env file with
APP_DB_USER
,APP_DB_PASS
,APP_DB_NAME
, andAPP_DB_ADDR
for a postgres database - Add Goose binary from https://github.com/pressly/goose
- Run
goose postgres $APP_DB_ADDR up
in ROOT/data directory - Start server with
go run main.go
- Create and store soccer teams and their seasons
- Create new seasons and generate a randomized 38 match schedule for each team
- Allow for simulating the results of a season (currently based on a random selected goal total for the home and away team)
- Save the simulated matches and team record/goals scored
- Expose this functionality in a REST API for SoccerSimUI and testing
- Keep full test coverage and with 12 factor design