Moqie is a back-end service for renting out movies.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
This project was built using NodeJS v12.3.1 and MongoDB. All dependencies can be found in the package.json file. See below to install all dependencies.
Install the dependencies in the package.json file
In the project folder, run: $ npm i
Tests are written using the JEST package
To run the tests: $ npm test
Notes on how to deploy to a live system will updated shortly
- Express.js - Web framework used
- Joi - Validator for JavaScript
- Joi-ObjectId - A MongoDB ObjectId validator for Joi
- Helmet - Secures Express apps by setting various HTTP headers
- Morgan - HTTP request logger middleware for node.js
- MongoDB - MongoDB for node.js
- Mongoose - MongoDB object modeling for node.js
- Bcrypt.js - Password hashing for JavaScript
- jsonwebtoken - An implementation of JSON Web Tokens
- dotenv - Loads environment variables
- winston - Logging Errors
- jest - JavaScript Testing
- supertest - Integration testing using HTTP assertions
- compression - Node.js compression middleware
- Omar Shaban - Initial work
This project is licensed under the MIT License - see the LICENSE.md file for details