Skip to content

npkumar/insurance-finder

Repository files navigation

Application Demo

https://insurance-finder.vercel.app/

Application has be been designed using mobile first approach. However, feel free to test out the tablet / desktop look and feel.

Demo

mobile_insurance_compress.mp4

Database Schema

Schema

Technology Stack

Assumptions

  • A user can see only his insurance plans
  • A user can create as many insurance plans under his name
  • Plans are sorted on home page based on startDate
  • Every plan as a base price. Total price is calculated as per duration in number of weeks multiplied by base price
  • Payment flow I'm assuming always works (No payment service like Stripe added)

To connect to local database

  1. Ensure values in .env are correct
  2. pscale auth login
  3. pscale connect npkumar main --port 3309
  4. npx prisma studio use this to populate any plans (I've skipped seeding, migrations to save time)

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

yarn install
yarn dev

Open http://localhost:3000 with your browser to see the result.

Deploy on Vercel

Check Next.js deployment documentation for more details.