Skip to content

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Secure Nest – Modern Insurance Platform

React Vite Tailwind Firebase React Router TanStack Query SweetAlert2 React Toastify


🌐 Live Demo


✨ Features

  • 🔒 Secure authentication (Firebase)
  • 🏠 Home, policy, agent, and blog pages
  • 🧑‍💼 Role-based dashboards (Admin, Agent, Customer)
  • 📄 Policy application & claim management
  • 💬 Blog system for agents/admins
  • 📊 Real-time data with React Query
  • 🌙 Light/dark mode support
  • 📱 Fully responsive & mobile-friendly
  • 📨 Newsletter subscription

🧰 Installation & Setup

git clone https://github.com/your-username/secure-nest-client.git
cd secure-nest-client
yarn
yarn run dev

Runs app at http://localhost:5173


🔥 Firebase Setup

  1. Go to Firebase Console

  2. Create a project and add a Web App

  3. Copy your Firebase config

  4. Create a .env file in your project root:

    VITE_FIREBASE_API_KEY=your_api_key
    VITE_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
    VITE_FIREBASE_PROJECT_ID=your_project_id
    VITE_FIREBASE_STORAGE_BUCKET=your_bucket
    VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
    VITE_FIREBASE_APP_ID=your_app_id
    
  5. See src/firebase/firebase.js for integration.


🛠️ Technologies Used

React Vite TailwindCSS Firebase React Router TanStack Query SweetAlert2 React Toastify


📁 Project Structure

src/
  components/
  context/
  dashboard/
  firebase/
  hooks/
  pages/
  routes/
  utils/
public/

About

A secure, responsive insurance management platform with Firebase authentication, role-based dashboards, policy and claim management, blog system, real-time data via React Query, light/dark mode, and newsletter subscription — designed for seamless use on any device.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages