Add, View, List articles.
GET - /api/get/${article-id} For article
GET - /image/${article-id} For article image
GET - /api/all For all articles
POST - /api/add To add article
To get you started you can simply clone the repository:
git clone https://github.com/SatyaSnehith/Articles-nodejs
and install the dependencies
npm install
You need git to clone the repository. You can get git from http://git-scm.com/.
A number of node.js tools is necessary to initialize and test the project. You must have node.js and its package manager (npm) installed. You can get them from http://nodejs.org/. The tools/modules used in this project are listed in package.json and include express, mongodb and mongoose.
The project uses MongoDB as a database. Link
The project is preconfigured with a simple development web server. The simplest way to start this server is:
npm start