Skip to content

Instantly share code, notes, and snippets.

@andrewwebber
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save andrewwebber/f57a4c134d804bacd4db to your computer and use it in GitHub Desktop.

Select an option

Save andrewwebber/f57a4c134d804bacd4db to your computer and use it in GitHub Desktop.
Origins API Server

#Origins Cross Platform ##Traditional Batch Processing Project ###Summary The goal of this project is to provide similar processing functionality found on the original desktop version found on the Microsoft Windows operating system.

###Required Software In order to faciliate broad support for as many platforms as possible the following open source technologies have been used to implement the product.

  • Node.js - execution runtime (download)
  • Mongodb - NoSQL database (download)
  • Typescript - programming lanaguage (download)

Please install the above software assets (Typescript - optional) according to your operating systems recommended installation process, for example 'apt-get'.

###Configuration The origins cross platform project contains two main configuration.

  • extensions.json - delivers the ability to extend the existing lookup system.
  • configuration.js - defines database connection string and processing options

###Installation The origins capablity needs to be initialize before first useage. This initialization phase will populate the database for optimal usage. Below is a bash script you can run to install the required modules and populate\optimizate the database.

cd origins

npm install

node populateMongo.js

###Execution Once you have configured your 'configuration.js' file with the correct processing options you can start the application server with the following command:

node app.js

The server can be browsed at http://localhost:1337 The default username and password is 'originsapi'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment