clone the repo
npm install
// Production run
npm start
// Local development run
node app.js
if you run npm start
on localhost, the server will redirect you to the main site (hosted on Heroku)
if you want to test it locally, try one of those ways:
- run it in debug mode
- or change the NODE_ENV to development mode
- or
node app.js
//
in the current Database schema there is no relation between the Planet and People, So it is not possible to solve it because there is no way to know the Pilot's Planet.
The App does not use a Database, So the Login session will be lost after each server restart. Also the User's record will not be permanent on Heroku server.