server-beta

module
v0.0.0-...-1f82a06 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT

README

Server Beta

Second backend for group project

Pipelines

Tests
Deployment

Prerequisites

Usage

git clone https://github.com/wwi21seb-projekt/server-beta.git
cd server-beta
make all
./bin/server-beta -port 8080

If no port is specified, the server will run on the default port :8080.

The user needs to have PostgreSQL installed and running. Additionally, the user needs to create an .env file with the following information:

JWT_SECRET=

DB_HOST=
DB_PORT=
DB_SSL_MODE=
DB_NAME=
DB_USER=
DB_PASSWORD=

PROXY_HOST=
SERVER_URL=

EMAIL_HOST=
EMAIL_PORT=
EMAIL_ADDRESS=
EMAIL_PASSWORD=

IMAGES_PATH=

GIN_MODE=

An example .env file (.env.example) can be found in the root directory of the project.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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