Skip to content

PowerInterviewAI/marketing-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

190 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Power Interview AI

A modern interview preparation platform built with React, TypeScript, Vite, and Tailwind CSS.

πŸš€ Features

  • ⚑️ Vite - Lightning-fast development and build tool
  • βš›οΈ React 18 - Latest React features
  • 🎨 Tailwind CSS - Utility-first CSS framework
  • 🎭 shadcn/ui - Beautiful, accessible components built with Radix UI
  • πŸ“ TypeScript - Type safety and better developer experience
  • πŸ’… Prettier - Code formatting with import sorting
  • πŸ” ESLint - Code linting for best practices
  • 🎣 Husky & lint-staged - Pre-commit hooks for code quality
  • πŸ“¦ Production-ready - Optimized build configuration

πŸ“ Project Structure

power-interview-hero/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/         # Static assets (images, fonts, etc.)
β”‚   β”œβ”€β”€ components/     # Reusable React components
β”‚   β”‚   └── ui/         # shadcn/ui components
β”‚   β”œβ”€β”€ config/         # Configuration files
β”‚   β”œβ”€β”€ hooks/          # Custom React hooks
β”‚   β”œβ”€β”€ lib/            # Utility libraries (cn function)
β”‚   β”œβ”€β”€ pages/          # Page components
β”‚   β”œβ”€β”€ styles/         # Global styles
β”‚   β”œβ”€β”€ types/          # TypeScript type definitions
β”‚   β”œβ”€β”€ utils/          # Utility functions
β”‚   β”œβ”€β”€ App.tsx         # Main App component
β”‚   β”œβ”€β”€ main.tsx        # Application entry point
β”‚   └── vite-env.d.ts   # Vite type definitions
β”œβ”€β”€ public/             # Public static files
β”œβ”€β”€ index.html          # HTML template
└── package.json        # Project dependencies and scripts

πŸ› οΈ Getting Started

Prerequisites

  • Node.js 18+ and npm/pnpm/yarn

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/power-interview-hero.git
    cd power-interview-hero
  2. Install dependencies:

    npm install

Development

Start the development server:

npm run dev

The application will be available at http://localhost:3000

Building for Production

Build the application:

npm run build

Preview the production build:

npm run preview

Code Quality

Format code with Prettier:

npm run format

Check formatting:

npm run format:check

Lint code:

npm run lint

🎨 shadcn/ui Components

This project uses shadcn/ui for beautiful, accessible UI components.

Available Components

  • Button - Versatile button with multiple variants (default, destructive, outline, secondary, ghost, link)
  • Card - Flexible card component for content grouping

Adding More Components

Due to peer dependency conflicts, components are added manually:

  1. Install required dependencies:

    npm install @radix-ui/[package-name] --legacy-peer-deps
  2. Copy component code from ui.shadcn.com to src/components/ui/

  3. Export the component in src/components/index.ts

For detailed instructions, see src/components/ui/README.md.

Using Components

import { Button, Card, CardContent, CardHeader, CardTitle } from '@/components';

<Button variant="default" size="lg">
  Click me
</Button>

<Card>
  <CardHeader>
    <CardTitle>Title</CardTitle>
  </CardHeader>
  <CardContent>
    Content goes here
  </CardContent>
</Card>

πŸ“¦ Deployment

This project is configured for GitHub Pages deployment. The build will be automatically deployed when you push to the main branch.

Manual Deployment

  1. Build the project:

    npm run build
  2. The dist folder contains the production build ready for deployment.

πŸ”§ Configuration

Vite Configuration

See vite.config.ts for Vite configuration options.

Tailwind Configuration

See tailwind.config.js for Tailwind CSS customization.

Prettier Configuration

See .prettierrc for code formatting rules.

πŸ“ License

This project is licensed under the MIT License.

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ’¬ Community & Support

About

Marketing website of PowerInterviewAI product

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors