This simple app allow you to generate or eventual purchase of Car Insurance Policy by estimating the cost based on Personal and Car factor. The mock data of formula and factors point is currently being used.
Clone this project to your local dir using download or git clone. Go to your favourite console / terminal, and cd to project path. After that, you can run below commands:
npm installis to install necessary dependency.npm startis to spawn development server than can be accessible via http://localhost:3000 or port 3001
For the project to run smoothly, these files must exist with exact filenames:
quotes_summary.jsonorquotes_summary_7d.jsonis the mock data for dashboard chart;src/index.jsis the JavaScript entry point.
This App comes with Dashboard that can be access through route dash. It will require authentication using Auth0. Use below detail to login.
Email: demo@website.com
Password: demo
As this App accessible via http://car-insurance-quote.surge.sh, it comes with deploy.sh. To push build project to surge.sh.
