/improper-server

A server for a digital Cards Against Humanity clone, called Improper Cards.

Primary LanguageJavaScript

Improper Server

A server for a digital Cards Against Humanity clone, called Improper Cards.

Environment

In order for the server to run, certain environment variables will have to be set. The following list is the different environment variables that are needed for the server to run.

Required:

DB_HOST=db.example.com
DB_USER=username_example
DB_PASS=password_example
DB_NAME=database_example
FRONTEND_URL=https://example.com

Optional:

DB_POOL_LIMIT=1337

Installing dependencies

npm i to install dependencies.

Running the server

npm start to run server. npm run serve to run dev server.