Thanks to visit codestin.com
Credit goes to github.com

Skip to content

johnnorris/api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api

server side api that receives messages and serves data to the website

Development Enviorment set up For API

  • Install heroku For ubuntu
    wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
    heroku plugins:install git://github.com/ddollar/heroku-config.git
    heroku git:remote -a quantifieddev
    heroku config:pull --overwrite --interactive
    For windows
    https://toolbelt.heroku.com/windows
  • Install supervisor
    For ubuntu
    sudo npm install -g supervisor
    For windows
    npm install -g supervisor
  • Install foreman
    For ubuntu
    sudo npm install -g supervisor
    For Windows
    foreman comes with heroku, try to execute foreman command if it is working then you are done. If this is not working then do gem install foreman -v 0.61. ( For this you must have ruby installed and added to your path variable)
  • To run API
    -mongodb must be started
    -start foreman using command foreman start -f Procfile.dev
    -If this does not work then use command "supervisor main.js" and for this you need to add all variables from .env to your add sysytem varibles.

About

Server side api that receives messages and serves data to the website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.7%
  • CSS 8.9%
  • Shell 0.4%