HugoRoca / apirest-express-mongo-awilix

Rest API containing endpoints with mongoDB that manages ideas under a user

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API REST WITH DEPLOY IN HEROKU

Build Status

Steps

  • install travis (gem intall travis)
  • install heroku and login (heroku login)
  • view steps in heroku
  • add .travis.yml
  • exec this command:
travis encrypt $(heroku auth:token) --add deploy.api_key --org

or

travis encrypt <api-key> -r <github-user>/<repo-name> --add deploy.api_key

  • complete travis file:
language: node_js
node_js:
  - stable
deploy:
  provider: heroku
  app: myfirstapiheroku-nodejs
  api_key:
    secure: xxx

About

Rest API containing endpoints with mongoDB that manages ideas under a user


Languages

Language:JavaScript 99.6%Language:Dockerfile 0.4%