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