durudex-post-service

module
v0.0.0-...-7f86f56 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: AGPL-3.0

README

⚡️ Durudex Post Service

Service for working with posts.

💡 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@post.postgres.durudex.local:5432/durudex
  1. Set certificates, information can be found at certs/README.md.
  2. Migrate the database, information can be found at schema/README.md.

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 © 2022 Durudex. Released under the GNU AGPL v3 license.

Directories

Path Synopsis
cmd
app
internal
repository/postgres/mock
Package mock_postgres is a generated GoMock package.
Package mock_postgres is a generated GoMock package.
pkg
tls

Jump to

Keyboard shortcuts

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