Server Beta
Second backend for group project
Pipelines
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.