Author: Sarah Bixler Version: 1.2.0 (increment the patch/fix version number up if you make more commits past your first submission)
This is a storage app that uses mongoDB and express.js to save items, with 3 properties to a database.
This app is currently in development once complete:
- fork this repo, npm i to download dependancies
- start index.js using nodemon to run the server
- start the database by typing npm run dbon
- then use httpie in the CLI to type api requests http POST localhost:3000/api/v1/trees/ type= genus= height= http GET localhost:3000/api/v1/trees/ type== genus== height== TO RUN AS IS complete step 1 then:
- npm run dbon
- in seperate CLI tab: npm run test
This app uses the ES6 and the node.js framework, babel is the transpiler, express.js for routing, mondgoDB for our database... Jest is the testing suite.
5-1-2018 -- testing suite is passing POST, GET, GET ALL and DELETE routes 5-2-2018 -- POST, GET, GET ALL, PUT and DELETE all fully functional -- tests passing