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