Project to all ow users to rent out to, or rent from other users thus, in this project provider posts items to rent on the Rent-All website. User selects an item user wants to rent and for how long user wants to rent the item. Once an item has been rented, the item will not be available for rent to other users.
This is ideal for people who need items for a short duration but do not want to purchase the items can now rent.
Open up the project link and you should be able to try it out!
-
Please ensure node.js is install, node.js is required to install packages from NPM. You can download the program at:
-
In your terminal navigate to your specified folder, type the following to install all required packages listed in package.json:
npm install
-
Create a SQL database with the name "rent_all_db". For example in MySQL:
CREATE DATABASE rent_all_db;
-
Create a ".env" file with the following information and update the "<>" with your SQL server information.
SEQUELIZE_USER=<root> SEQUELIZE_PASSWORD=<password> SEQUELIZE_HOST=<localhost>
-
Run the server by entering the following in your terminal.
node server.js
- Google Sheets - Online spreadsheets used for project management, organization, and scheduling.
- HTML5 - Mark up language used for structuring pages.
- CSS - Stylesheet language used to describe presentation of pages.
- Animate CSS - Web library used to add special effects to elements in the DOM.
- Heroku- Cloud platform which builds databases and websites deployed online.
- Javascript - The scripting language used to manipulate the DOM.
- BootstrapCDN - The web framework used for styling.
- jQuery - Javascript library for DOM and CSS manipulation.
- Moment.js - Javascipt library for time calculations.
- Sequelize - Promise based ORM for Node that supports MySQL interactivity.
- Node - Javascript run-time environment that exectues server side code.
- Express - Node package used as middleware to create routes.
- Body-Parser - Node package used as middleware to extract entire body portion of an incoming request.
- Express-Handlebars - Node package used as middleware to create templates for rendering pages.
- Dotenv - Node package used as middlewares to keep passwords and other sensitive data from being uploaded and shared on the web through github.
- Passport - Node package used as middleware for user authentication by hashing passwords.
- Bcrypt - Node package used as middleware with Node and passport package for user authentication and password decryption.
- MySql - Structured Query Language is a relational database management system used for storing data.
- Console for Windows or Terminal for Mac - Command Line Emulator to create directories, documents, edit structure, and run server locally for testing.
- Usage of Categories and Subcategories
- Incorporate Login Authentication
- Incorporate fully functional map
- Incorporate Location Functionality
- Eric Ng - EricNg314
- John McLeod - sun1devil
- Linh Tong - linhthitong
- Roberto Baldizon - b0bbybaldi
Users can get further help in w3shcools or MDN or stockoverflow or nodejs.org.
A huuuuge MEGA bigly thank you to Amber (and Jerome, Sasha and Ricky)!! 😬