Run the app from local server

Server dependencies

We used forever for our production app. It allows your server to run continuously, even after a crash (it automatically restarts it). However you don't have to use forever, so feel free to run it with package of your choice (e.g nodemon).

You must start the server.js file from the server folder because of the SSL certificate and private key. In other words, you need to execute the functions in the following order

  1. cd server/
  2. forever start server.js

See Note about https and SSL certificate for more information