/cryptix-server

This is the backend for both cryptix player and cryptix admin site.

Primary LanguageJavaScript

Cryptic Server

Setup

  • Create a file called .env in the root directory with content as follows:
NODE_ENV=development
PORT=4000
CB_URL=http://localhost:4000
MAIL_HOST=<SMTP SERVER>
MAIL_USER=<SMTP USER>
MAIL_PASS=<SMTP PASS>
SECRET_KEY=<KEY>
MONGO_URI=<MONGODB URL>

Running

Development npm run start-dev

Production npm start

Routes