Skip to content

lean implementation of a rest api with mongodb and nodeJS

License

Notifications You must be signed in to change notification settings

kojoYeboah53i/mongo-rest-api

Repository files navigation

downloads

installation

-clone this repository

  run npm install

start dev server

 run npm start

enviroment variables

 include .env file
.env
    -DB_CONNECTION=<replace with url for mongodb>

Deploy to Heroku

You can also deploy this app to Heroku: Edit your Procfile and add the following line:

    web: node app.js

Configure your Heroku app to point to your MongoDB instance:

    heroku config:add DB_CONNECTION=<replace with url for mongodb>

Deploy

About

lean implementation of a rest api with mongodb and nodeJS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published