Requirents: WE BROKE IT!!!
- Mongodb installed on local machine and running
- Nodejs version 8.0 and above
Installation:
$ cd mememinder-demo
$ npm install
$ npm start
//the request body should look like this
{
"meme": {
"title": String, //title of mememinder(required)
"meme_link": String, //url link(required)
"description": String //description of mememinder(not required)
}
}
create new Mememinder
localhost:3000/api/memes
get all Mememinder
localhost:3000/api/memes
get 1 Mememinder
localhost:3000/api/memes/:id
update 1 Mememinder
localhost:3000/api/memes/:id
remove 1 Mememinder
localhost:3000/api/memes/:id