A clean, responsive frontend for managing car bookings — built with Next.js (App Router), Tailwind CSS, and TypeScript. Designed with modularity, scalability, and enterprise readability in mind.
- Next.js (App Router)
- Tailwind CSS
- TypeScript
- Vercel (Hosting)
- Card & table views for bookings
- Component-based architecture (BookingCard, CarCard, ServiceCard)
- Mobile-friendly and responsive design
- New booking form with validation, toast notifications, and animations
- Light/Dark mode support
- API integration with a Rails backend
GET /api/v1/cars
GET /api/v1/services
GET /api/v1/bookings
POST /api/v1/bookings
git clone https://github.com/rajal-kumar/booking-frontend.git
cd booking-frontend
npm install
npm run dev
Open http://localhost:3000 with your browser to see the result.
Testing is in progress. Frontend specs will be added using Jest + React Testing Library.
- Familiarity: Faster ramp-up, allowing me to focus on delivering UI polish and interactivity
- Modular Architecture: Easy to organize into reusable components and isolated routes
- Tailwind CSS: Fast prototyping and clean styling with built-in responsiveness
- Built-in Routing: No need for extra router packages
- Server Components + App Router: Helps separate logic and presentation cleanly
- Seamless Deployment: Deploys to Vercel in seconds with CI/CD
Feature | Angular | Next.js |
---|---|---|
Learning Curve | Steeper (especially for new devs) | Easier to ramp up |
Modularity | Very structured | Flexible but clean |
Styling | Uses Angular-specific stylesheets | Tailwind or any CSS works great |
Routing | Explicit via config | File-based routing (faster dev) |
Performance Tuning | Built-in tools | Better default DX (with Vercel) |
Ecosystem | Enterprise-level | Startup and enterprise friendly |
In this case, Next.js allowed me to focus on polish and speed of delivery without battling a new framework.