Skip to content

edmblue/insurance-quoter

Repository files navigation

Insurance Quoter

img

Index page for a insurance quoter using Context API

Built with:

React Vite TailwindCSS

  • Frontend: ReactJS, TailwindCSS
  • Hosting: Netlify

Features

  • Calculate the price of the insurance depending on the characteristics of the car:
    • Base: 2000
    • Get difference of years
    • 3% is subtracted for each year
    • A:15% EU:30% Asian 5%
    • Basic: 20% Complete: 50%

📑 End note

After using context with NextJS and REMIX, and now using the original context hook I can see the big improvement that this two frameworks did incorporating Context in a much simplier way, anyways using the original hook is not hard at all, this project was not about its complexity, because it was a really simple app, but more to understand the basic concepts on how to use context