A Node.js application for a hiking social network
First, install the package using npm:
npm install @gregvanko/roadx --save
Create a file "App.js" with this content:
const Option = {
Port:9000,
Name:"RoadX",
Debug: false,
SplashScreenFilePath: __dirname + "/SplashScreen.html"
}
require('@gregvanko/roadx').Start(Option)
It is possible to start the application with default values (Port=9000, Name=NewApp, Debug=false, SplashScreenFilePath= default splach screen):
require('@gregvanko/roadx').Start()
PORT and MONGOURL are available as env variables