Skip to content
fredrikj31Public

About

Relay is a simple web based messaging application.

Resources

Stars

0 stars

Watchers

0 watching

Forks

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
BETTER_AUTH_SECRET= # Random generated string
BETTER_AUTH_URL=http://127.0.0.1:5173

# 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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages