/Vehicle-Insurance

Our JS Project

Primary LanguageJavaScript

Vehicle Insurance Project

This Insurance Management System project is a website or web application mainly for persons who are willing to buy insurance for their vehicles. Through this website, it will be easier to find a suitable one. The main intention of building this website is to provide users to choose their budget and the best package for their vehicle. We have tried to maintain all the information about the insurance plan, which is easily understandable to the users and makes it easy to find the plan. This system helps the user to get a different kind of insurance

Setup

  • Navigate to server\src\config\db.config.js

  • Change the credentails to your mysql workbench credentials *i.e.

    • REACT_APP_HOST=localhost
    • REACT_APP_USER=root
    • REACT_APP_PASS=root
    • REACT_APP_DB=login_register_sys
  • Open MySQL Workbench and input the code found in server\db_creation_script.sql (this creates the database & populates some tables)

Installation

  • To install the required node modules for the backend server, navigate to server folder in cmd
    • type npm install
  • To install the required node modules for the client server, navigate to client folder in cmd
    • type npm install

Starting

  • To start the backend server, navigate to server folder in cmd
    • type npx nodemon server.js
  • To start the client server, navigate to client folder in cmd
    • type npm start

Potential Client npm start issues

  • install referenced packages for module not found errors
  • delete the package-lock.json file
    • run npm i
    • run npm update
    • run npm audit fix --force
    • run npm start