Courses organization domain for Authena course passing project
- go 1.17
- Docker
- golangci-lint
You can create .env file with following environment variables or set them manually:
APP_ENVIRONMENT=local # Environment name and config name to parse
MONGO_URI=mongodb://mongodb:27017
MONGO_USERNAME=admin
MONGO_PASSWORD=qwerty
make openapi
— generates boilerplate code, types and server interface that conforms to OpenAPImake go-build
— builds project for GOOS=linuxmake lint
— runs lintersmake dev
- runs dev environmentmake test-unit
— runs unit tests and save cover profilemake test-integration
— runs integration tests and save cover profilemake test-cover
— builds code cover reportmake run-test-db
— runs Docker with test Mongo DBmake stop-test-db
— stops Docker with test Mongo DB