Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

durudex-old/durudex-user-service

Repository files navigation

⚡️ Durudex User Service

Service for working with users.

💡 Prerequisites

⚙️ Build & Run

  1. Create an .env file in the root directory and add the following values from .env.example:
# Debug mode.
DEBUG=false

# Config variables:
CONFIG_PATH=configs/main

# Postgres database variables:
POSTGRES_URL=postgresql://admin:qwerty@user.postgres.durudex.local:5432/durudex

# Redis database variables:
REDIS_URL=redis://user.redis.durudex.local:6379

# Auth variables:
JWT_SIGNING_KEY=secret-key
  1. Generate certificates, information can be found at certs/README.md
  2. Migrate the database using make migrate-up.

Use make run to run and make build to build project.

🛠 Lint & Tests

Use make lint to run the lint, and use make test for tests.

👍 Contribute

If you want to say thank you and/or support the active development of Durudex:

  1. Add a GitHub Star to the project.
  2. Join the Discord Server.

⚠️ License

Copyright © 2021-2022 Durudex. Released under the GNU AGPL v3 license.