Skip to content

fredrikj31/relay

Repository files navigation

Relay

Environment Variables

Create a .env file in the project root file. The content of the file should be the following:

# API Environment Variables
WEBSITE_BASE_URL=http://127.0.0.1:5173
API_HOST=0.0.0.0 # Optional
API_PORT=3000 # Optional
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=password
DATABASE_NAME=relay
TOKEN_PASSWORD_SALT= # Random generated string
TOKEN_JWT_PRIVATE_KEY= # Random generated string

# APP Environment Variables
VITE_API_BASE_URL=http://127.0.0.1:3000/api

About

Relay is a simple web based messaging application.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors