A recipe CRUD API app built on node js , express js and mongodb
The API can be able to add a recipe, edit a recipe, get all recipe or a single recipe and delete a recipe
The Express JS framework handles the API CRUD, mongodb handles the DB storage while Moongoose is used as an Object Document Mapper (similar to an ORM in python)
- NodeJS
- Mongo DB
- express JS framework
- Moongoose
use npm or yarn using npm
$ npm install
$ npm install moongoose
$ npm install body-parser
$ npm install express
using yarn
$ yarn install
$ yarn add moongoose
$ yarn add express
$ yarn add body-parser
fire app mongodb in a different terminal
$ mongod <Path to your db> //eg $ mongod ~ /Documents/mongo/data/db
using npm
$ npm run
using yarn
$ yarn run
using npm
$ npm run test --coverage
using yarn
$ yarn run test --coverage