Backend app for Online Course Constructor Platform
Build & Run (Locally)
Prerequisites
- go 1.15
- docker
- golangci-lint (optional, used to run code checks)
Create .env file in root directory and add following values:
MONGO_URI=mongodb://mongodb:27017
MONGO_USER=admin
MONGO_PASS=qwerty
PASSWORD_SALT=
JWT_SIGNING_KEY=
SENDPULSE_LISTID=
SENDPULSE_ID=
SENDPULSE_SECRET=
HTTP_HOST=localhost
FONDY_MERCHANT_ID=1396424
FONDY_MERCHANT_PASS=test
PAYMENT_CALLBACK_URL=/api/v1/callback/fondy
PAYMENT_REDIRECT_URL=https://example.com/
Use make run
to build&run project, make lint
to check code with linter.