1010
1111This project uses [ Taskfile] ( https://taskfile.dev/ ) for running tasks. The following tasks are available
1212
13- - ` task build` - creates the executable storing it in ` out/bin ` directory along with the config file
14- - ` task clean` - cleans various build artifacts
15- - ` task d.build` - builds the docker container
16- - ` task d.down` - shuts down the docker containers
17- - ` task d.up` - starts up the docker containers (postgres + gomin api)
18- - ` task db.migrate` - useful when changing the ` database/schema.hcl ` file, applies changes to the local database
19- - ` task db.up` - useful for ONLY starting the database (not the api)
20- - ` task server.run` - runs the code locally (not using docker)
21- - ` task test` - runs tests including coverage
13+ * build: Builds a local executable, outputs to out/bin/gomin
14+ * clean: Cleans up build artifacts, including out, bin, and test reports
15+ * d.build: Builds the docker iamge, marks it as latest
16+ * d.down: Shuts down all docker containers in the docker compose file
17+ * d.up: Starts up all docker containers, builds and runs the API as well
18+ * db.migrate: Runs the database migration, ensures that the local postgres database is running
19+ * db.up: Starts the database WITHOUT migrations
20+ * server.run: Starts the database, runs migrations, builds the server, and starts the server
21+ * test: Runs all of the tests in all of the go source directories
2222
2323## Roadmap
2424
@@ -27,9 +27,9 @@ This project uses [Taskfile](https://taskfile.dev/) for running tasks. The foll
27273 . [x] - Add pre-commit
28284 . [x] - Initial database setup
29295 . [x] - Incorpoate database into REST API
30- 6 . [ ] - Integration tests for database
31- 7 . [ ] - E2E tests for REST API
32- 8 . [ ] - Add github build for golang
30+ 6 . [x ] - Integration tests for database
31+ 7 . [x ] - E2E tests for REST API
32+ 8 . [x ] - Add github build for golang
33339 . [x] - Add docker packaging
343410 . [ ] - Add docker image build in Github Actions on Tag
353511 . [ ] - Terraform plan for RDS
0 commit comments