A modern, responsive frontend for the Service Booking System built with Next.js, TypeScript, and shadcn/ui.
- Next.js 14 - React framework with App Router
- TypeScript - Type safety
- Tailwind CSS - Utility-first CSS framework
- shadcn/ui - Beautiful UI components
- React Hook Form - Form management
- Zustand - State management
- ✅ User authentication (customers & service providers)
- ✅ Business profile management
- ✅ Service management with categories
- ✅ Real-time booking system
- ✅ Payment integration (Stripe)
- ✅ Notification system
- ✅ Responsive design
- 🔄 Staff management
- 🔄 Availability management
- 🔄 Booking modifications
- 🔄 Analytics & reporting
- Node.js 18+
- Git
# Clone the repository
git clone <your-frontend-repo-url>
cd service-booking-frontend
# Install dependencies
npm install
# Start development server
npm run devCreate a .env.local file:
NEXT_PUBLIC_API_URL=http://localhost:5000
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_keysrc/
├── app/ # Next.js App Router
│ ├── (auth)/ # Authentication pages
│ ├── (dashboard)/ # Dashboard pages
│ ├── api/ # API routes
│ └── globals.css # Global styles
├── components/ # Reusable UI components
│ ├── ui/ # shadcn/ui components
│ ├── forms/ # Form components
│ └── layout/ # Layout components
├── lib/ # Utility functions
├── hooks/ # Custom React hooks
├── types/ # TypeScript type definitions
└── utils/ # Helper functions
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
This project uses shadcn/ui components:
- Button, Card, Input, Form
- Calendar, Dialog, Select
- And more...
The frontend connects to the backend API for:
- User authentication
- Business management
- Service management
- Booking operations
- Payment processing
- Mobile-first approach
- Tablet and desktop optimization
- Progressive Web App (PWA) features
npm run build
# Deploy to Vercel- Netlify
- Railway
- DigitalOcean App Platform
- ESLint configuration
- Prettier formatting
- TypeScript strict mode
- Feature branches
- Pull request reviews
- Conventional commits
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This project is for portfolio purposes.
Author: Abu Sayed
Project Type: Portfolio Project for Mid-Level Frontend Developer Position
Last Updated: December 19, 2024