Nodejs RESTFUL API

A project illustrating creation of a MVC RESTFUL API using Nodejs and Express JavaScript framework. The application has CRUD functionality on existing resources.It also has token-based authentication using JWT library where some routes are protected. Users can also upload binary files to the application.

Technologies used

  • Nodejs runtime environment
  • Express Backend JavaScript framework
  • MongoDB Cloud Database
  • Mongoose ODM (Object Document Modelling)
  • JWT Oauth Library
  • POSTMAN desktop app for simulating API requests

Installation

  • Clone the project. git clone project-name
  • Run npm install to install depedencies listed in package.json file
  • Edit your database credentials in the app.js in mongoose.connect()
  • Edit your server PORT in server.js file.
  • Run npm start to start the development server with hot reload (via nodemon)

License

This program is free software published under the terms of the GNU Lesser General Public License.
You can freely use it for commercial and non-commercial projects.