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
-
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)
- To install the required node modules for the backend server, navigate to server folder in cmd
- type
npm install
- type
- To install the required node modules for the client server, navigate to client folder in cmd
- type
npm install
- type
- To start the backend server, navigate to server folder in cmd
- type
npx nodemon server.js
- type
- To start the client server, navigate to client folder in cmd
- type
npm start
- type
- install referenced packages for module not found errors
- delete the
package-lock.json
file -
- run
npm i
- run
-
- run
npm update
- run
-
- run
npm audit fix --force
- run
-
- run
npm start
- run