Orbit-server is the back-end for Orbit , an open-source data visualisation tool that allows businesses, sports teams and educational institutions track, measure and improve performance. Built using cutting-edge technologies, Orbit provides a birds-eye-view on performance metrics in a way that is easy to understand and digest. Students, players and employees are presented with key changes they can make to improve the performance through a complex neural networks, helping users focus their time more effectively and efficiently.
- React
- Redux
- Webpack
- D3.js
- VX.js
- PostCSS
- Koa
- MongoDB
- MongoLab
- Travis CI
- Heroku
A few things you have to take in consideration before using Orbit-server
After cloning the repo you'll have to :
-
NPM
-
Node
In this case you should:
- Create a free account at mLab
- Create a
.env
file containing:
DB_USERNAME=YOUR_DB_USERNAME
DB_PASSWORD=YOUR_DB_PASSWORD
DB_HOST=YOUR_DB_HOST
DB_PORT=YOUR_DB_PORT
DB_NAME=YOUR_DB_NAME
In the shell type:
$mongo YOUR_DB_HOST.mlab.com:YOUR_DB_PORT/YOUR_DB_NAME -u YOUR_DB_USERNAME -p YOUR_DB_PASSWORD
In this case you should:
- In the
db.js
-file uncomment the section marked as 'LOCAL DATABASE' and comment out the section marked 'ONLINE DATABASE'
In the shell type:
$mongod
$mongo
(In another tab)
In the shell type:
$npm start
Happy hacking!!
Use this link to get all requests: Orbit end-points.
Don't forget to create a new Environment (http://localhost:3000).