
Local Service Finder - Professional Service Booking Platform
A full-stack booking platform connecting customers with verified local service professionals. Features real-time availability, secure authentication, and comprehensive booking management for both clients and service providers.

# Overview
Local Service Finder is a comprehensive web application that bridges the gap between customers seeking local services and professional service providers. The platform offers an intuitive interface for browsing, comparing, and booking services across 14+ categories including plumbing, electrical, cleaning, HVAC, and more.
# Key Features
- Smart Search & Filtering: Advanced filtering by category, rating, price range, and availability with real-time results
- Dual-Role System: Separate dashboards for customers and service providers with role-specific functionality
- Real-Time Booking: Interactive calendar with time slot selection and instant booking confirmation
- Review System: Verified customer reviews with star ratings and detailed feedback
- Provider Profiles: Comprehensive profiles showcasing specialties, pricing, availability, and portfolio work
- Secure Authentication: JWT-based authentication with bcrypt password hashing
- Responsive Design: Mobile-first approach with dedicated bottom navigation for seamless mobile experience
# Technical Challenges & Solutions
## 1. Database Migration for Serverless Deployment
Solution: Successfully migrated to PostgreSQL using Neon database with Prisma 7's new adapter architecture. Implemented connection pooling with @prisma/adapter-pg and pg driver for serverless compatibility.
## 2. Server-Side Rendering Data Fetching
Challenge: API calls during SSR were failing in production due to localhost URL resolution.
Solution: Implemented environment-aware API base URL configuration using VERCEL_URL for production deployments, ensuring proper server-side data fetching.
## 3. Prisma 7 Configuration
Challenge: Prisma 7 deprecated url in schema files, requiring migration to new config system.
Solution: Migrated to prisma.config.ts with proper datasource configuration and implemented database adapters for enhanced flexibility.
## 4. Build Optimization
Challenge: Initial builds failed due to strict TypeScript checking and migration issues.
Solution: Configured skipLibCheck, adjusted build scripts to run migrations before deployment, and optimized TypeScript configuration for production builds.
# Technical Architecture
- Frontend: Next.js 16 with App Router, React 19, TypeScript
- Styling: Tailwind CSS with custom component library
- Backend: Next.js API Routes with edge-ready architecture
- Database: PostgreSQL (Neon) with Prisma ORM 7.3
- Authentication: JWT tokens with httpOnly cookies
- Deployment: Vercel serverless with automatic CI/CD from GitHub
- State Management: React Hooks with server-side data fetching
# Development Highlights
- Implemented comprehensive seed script with 50+ test records for development
- Built reusable UI component library with variants and accessibility features
- Designed database schema with 9 tables and complex relationships
- Created automated deployment pipeline with database migrations
- Optimized for Core Web Vitals with dynamic routing and data caching strategies
# Impact & Results
The platform provides a seamless experience for both service seekers and providers, reducing booking friction and enabling efficient service discovery. The architecture supports scaling to thousands of users while maintaining sub-second response times.
Project Gallery



