Chat application back-end server. (Still in development)
-
Install latest stable nodejs version.
-
Install mongodb community edition.
-
Install compass (the UI tool for mongodb).
-
Get the repo.
-
Go in the root directory and type:
$ cd ./server/
-
Install the server's dependencies:
$ npm install
-
Config folder and sslcert folder hold secrets, so there are not in the repo.
-
Run server in development:
$ npm run dev
-
Run server in debug (setup your IDE/Editor to execute this command when debugging):
$ npm run debug
-
Run server in production:
$ npm run prod