courses-organization

module
v0.0.0-...-4b23463 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: MIT

README

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

Directories

Path Synopsis
cmd
internal
app
port/http/v1
Package v1 provides primitives to interact with the openapi HTTP API.
Package v1 provides primitives to interact with the openapi HTTP API.
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL