module
Version:
v0.0.0-...-4b23463
Opens a new window with list of versions in this module.
Published: Nov 17, 2021
License: MIT
Opens a new window with license information.
README
¶
Authena courses organization service
Courses organization domain for Authena course passing project
Build & Run (Locally)
Prerequisites
- go 1.17
- Docker
- golangci-lint
Environment
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
Commands
make openapi
— generates boilerplate code, types and server interface that conforms to OpenAPI
make go-build
— builds project for GOOS=linux
make lint
— runs linters
make dev
- runs dev environment
make test-unit
— runs unit tests and save cover profile
make test-integration
— runs integration tests and save cover profile
make test-cover
— builds code cover report
make run-test-db
— runs Docker with test Mongo DB
make stop-test-db
— stops Docker with test Mongo DB
Directories
¶
Click to show internal directories.
Click to hide internal directories.