- π©βπ§ Chelsea Jackson- Front End
- π©βπΌ Devon Martens- Front End
- π©βπΌ Michal Terranova- Back End
- π¨βπ«Kyle Daniels- Back End
βοΈ Star us on GitHub β it helps!
The Negotiator. will act as a broker for car dealers and agents. The app will prompt car dealers to provide information for insurance providers. The information given will allow insurance providers to contact car dealers and provide them with a quote based on the plan they request. In return car dealers will be offered competitive prices for their insurance.
-
-
- The user will register and login to the website with a email and password.The Passport package will allow users to log in with username and password, or other third party verifications such as Google. The password hashing middleware which we use to compliment Passportβs functionality is the Bcrypt package. This tool allows us to save the user in the database to later compare with the password used when generating their authentication token. Bcrypt adds 'salt' onto this concept by adding extra random characters onto the password that gets hashed. So the resulting hash is always different for the same input password. This prevents people from building a dictionary of hashes that corespond to the password that made them.
-
- Users will complete a form with their business information. Dealers will complete an application that will post to the common page. The dealers data will post to the common page on a card that the agents can view. The routes will allow both agents and dealers to view the common page. Agents can contact the dealers that post their information from the application form.
-
An additional functionality will be added to this app that will allow the dealers to generate a quote based on the data that was populated in the application. The quote data will be generated from the data populated in the application.
-
-
-
- Node.js is an open-source, cross-platform, JavaScript runtime environment that executes JavaScript code outside of a browser.
-
- Sequelize is a promise-based ORM for Node.js. It has dozens of cool features like synchronization, association, and validation. It also has support for PostgreSQL, MySQL, MariaDB, SQLite, and MSSQL.
-
- Bcrypt is a password hashing function. Besides incorporating a salt to protect against rainbow table attacks, bcrypt is an adaptive function: over time, the iteration count can be increased to make it slower, so it remains resistant to brute-force search attacks even with increasing computation power.
-
- Passport is authentication middleware for Node. js. Extremely flexible and modular, Passport can be unobtrusively dropped in to any Express-based web application. A comprehensive set of strategies support authentication using a username and password, Facebook, Twitter, and more.
-
-
-
- MySQL Workbench is a visual database design tool that integrates SQL development, administration, database design, creation and maintenance into a single integrated development environment for the MySQL database system.
-
In order to deploy this project locally be sure to:
- fork the repository and clone it to local computer.
- go into the local file and open the terminal.
- type "npm install" inside the terminal to download the node_modules
- you must have mySQL located on your computer. You will need to open up a new project.
- in mySQL type: CREATE DATABASE negotiator; USE negotiator;
- now go back to terminal and type in "npm start"
- navigate to the correct port labeled in the terminal. Now go to the localhost: PORT that was in the terminal.
This should include a completion of the directions to run this file locally!