A simple REST api using the MEAN stack implementing posting comments with likes and dislikes.
A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data.
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.
-
Clone this repo:
git clone https://github.com/Mawlong/Posts.git
-
Install dependencies.
npm install # or yarn install
-
Change configuration, depending on what you need. Make to make directory data/db
-
Run it on your browser .
node index.js
An assignment from rentomojo
(NOTE: DELETE requests have been commented out)