Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 989 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 989 Bytes

Posts

A simple REST api using the MEAN stack implementing posting comments with likes and dislikes.

What is a REST api?

A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data.

MEAN stack?

The mean stack encorporates the use of mongoDB implemented through mongoose, express.js, angular.js and node.js in order to build a full stack application.

HOW-TO

  1. Clone this repo:

    git clone https://github.com/Mawlong/Posts.git
  2. Install dependencies.

    npm install
    # or
    yarn install
  3. Change configuration, depending on what you need. Make to make directory data/db

  4. Run it on your browser .

    node index.js
    
    

An assignment from rentomojo

(NOTE: DELETE requests have been commented out)