Express Node API
Node API using Express, Body Parser, and mongoDB
Setup instructions
-
create a folder in the root directory, and name it
config
. -
create a file named
db.js
inside of the config folder. -
Insert the code below inside, be sure to use your own mongodb link.
module.exports = {
url: 'mongodb://mongodb url goes here'
}