Skip to content

TheDMSGroup/protect.com

Repository files navigation

Protect.com - Nuxt Application

A comprehensive insurance comparison and information platform built with Nuxt 3, Vue 3, and Bootstrap Vue Next.

Features

  • Insurance Content Management: Articles, comparisons, and educational content
  • Interactive Tools: Rate calculators, quote forms, and comparison tools
  • Responsive Design: Mobile-first approach with Bootstrap integration
  • SEO Optimized: Built-in sitemap generation and meta management
  • Component Library: Reusable UI components for consistent design

Tech Stack

  • Framework: Nuxt 3
  • UI Library: Bootstrap Vue Next
  • Styling: SCSS with Bootstrap integration
  • State Management: Pinia
  • Images: Nuxt Image with optimization
  • Content: GraphQL API integration via Hygraph CMS

Prerequisites

  • Node.js (v20 or higher recommended)
  • npm, pnpm, yarn, or bun package manager

Getting Started

1. Clone and Install

# Clone the repository
git clone <your-repo-url>
cd protect-nuxt

# Install dependencies
npm install
# or
pnpm install
# or
yarn install

2. Development Server

Start the development server on http://localhost:3000:

npm run dev
# or
pnpm dev
# or
yarn dev

Project Structure

├── components/          # Vue components
│   ├── Article.vue     # Article display component
│   ├── Header.vue      # Site header
│   ├── Footer.vue      # Site footer
│   └── ...
├── pages/              # File-based routing
│   ├── articles/       # Article pages
│   ├── car-insurance/  # Insurance category pages
│   └── ...
├── layouts/            # Layout templates
├── stores/             # Pinia state management
├── scss/               # Global styles and variables
├── server/             # Server-side API routes
└── public/             # Static assets

Key Components

  • Article System: Dynamic article rendering with SEO optimization
  • Rate Calculators: Interactive insurance rate estimation tools
  • Quote Forms: Lead generation forms with zip code validation
  • Testimonials: Customer testimonial displays
  • FAQ Components: Structured data for search engines

Development Commands

# Development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

# Generate static site
npm run generate

Styling

The project uses Bootstrap 5 with custom SCSS:

API Integration

The application fetches content from Hygraph CMS via GraphQL:

Support

For development questions or issues, refer to:

About

Protect.com site built with the Nuxt and vue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •