A modern React-based website for Lazybee co-living spaces in Singapore, featuring property listings, location details, and an interactive user experience.
- Property Listings: Browse available co-living spaces with detailed information
- Interactive Search: Filter properties by location, price range, and room type
- Location Pages: Explore different neighborhoods and areas
- Property Details: View comprehensive information about each property including rooms, amenities, and pricing
- Responsive Design: Optimized for desktop and mobile devices
- Modern UI: Built with Tailwind CSS and Radix UI components
- Frontend: React 19.1.0 with Vite
- Routing: React Router DOM
- Styling: Tailwind CSS 4.1.7
- UI Components: Radix UI primitives
- Icons: Lucide React
- Animation: Framer Motion
- Forms: React Hook Form with Zod validation
- Deployment: Vercel with serverless API functions
src/
├── components/
│ ├── ui/ # Reusable UI components (buttons, cards, etc.)
│ ├── HomePage.jsx # Landing page with hero section
│ ├── PropertiesPage.jsx # Property listings page
│ ├── PropertyDetailPage.jsx # Individual property details
│ ├── LocationsPage.jsx # Location information
│ ├── AboutPage.jsx # About page
│ ├── FAQsPage.jsx # Frequently asked questions
│ └── Navbar.jsx # Navigation component
├── services/
│ └── api.js # API service layer
├── data/
│ └── sampleData.js # Sample property data
├── assets/ # Images and static assets
└── hooks/ # Custom React hooks
api/
├── properties.js # Properties API endpoint
├── rooms.js # Rooms API endpoint
└── property/ # Property-specific API routes
- Node.js 18+
- pnpm (recommended) or npm
-
Clone the repository
-
Install dependencies:
pnpm install
-
Start the development server:
pnpm dev
-
Open http://localhost:5173 in your browser
pnpm dev- Start development serverpnpm build- Build for productionpnpm preview- Preview production buildpnpm lint- Run ESLint
The project includes Vercel serverless functions for:
/api/properties- Get all properties/api/property/[id]- Get specific property details/api/property/[id]/rooms- Get rooms for a property/api/rooms- Get all rooms
- Filter by location, price range, and availability
- Real-time search functionality
- Property cards with images and key details
- Comprehensive property information
- Room availability and pricing
- Amenities and neighborhood details
- Image galleries
- Mobile-first approach
- Optimized for all screen sizes
- Touch-friendly interactions
The project is configured for deployment on Vercel:
- Push to your Git repository
- Connect to Vercel
- Deploy automatically on push
The vercel.json file includes CORS configuration for API routes.
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is private and proprietary.