Git Product home page Git Product logo

12-express's Introduction

Express and MongoDB

Author: Sarah Bixler Version: 1.2.0 (increment the patch/fix version number up if you make more commits past your first submission)

Overview

This is a storage app that uses mongoDB and express.js to save items, with 3 properties to a database.

Getting Started

This app is currently in development once complete:

  1. fork this repo, npm i to download dependancies
  2. start index.js using nodemon to run the server
  3. start the database by typing npm run dbon
  4. 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:
  5. npm run dbon
  6. in seperate CLI tab: npm run test

Architecture

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.

Change Log

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

12-express's People

Contributors

sarasaurus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.