Skip to content

Courses organization domain for Authena course passing project

License

Notifications You must be signed in to change notification settings

authena-ru/courses-organization

Repository files navigation

codecov

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

Releases

No releases published

Packages

No packages published

Languages