An Article based application using REST API to perform CRUD operations on the database
- Node.js Server
- Express.js as backend framework
- MongoDB
- Mongoose ODM
- Passport.js for Authentication (passport-local Strategy)
- bcryptjs for password encryption
- Pug (formerly known as Jade) for templating (templating engine)
npm install => to install all dependencies to node_modules
N.B : Please Create config/config.js file including your data base and secret configuration as the following:
module.exports = {
database: 'mongodb://<username>:<password>@ds213259.mlab.com:13259/<databasename>',
secret: 'yoursecret'
};
npm start => to start the server and listen on port 3000