This web application predicts insurance charges based on user inputs such as age, BMI, number of children, smoking status, and region. It uses a linear regression model to make predictions.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed on your local machine.
To install the project dependencies, run:
To run the development server, use the following command:
The application will be available at http://localhost:3000.
- Access the application in your web browser.
- Fill out the form with your information:
- Age
- BMI
- Number of children
- Smoking status
- Region
- Click the "Predict" button to see the estimated insurance charge based on your inputs.
- Next.js - The React framework used for building the web application.
- React - A JavaScript library for building user interfaces.
- CSS Modules - Used for styling the components with scoped CSS.
This project is licensed under the MIT License.