A full-stack web application for searching and booking unique accommodations, built with React, Node.js, Express, and MongoDB.
- Property Search: Filter accommodations by location, property type, and number of bedrooms
- Detailed Listings: View comprehensive property information including prices, ratings, and images
- Booking System: Complete booking flow with user details collection and confirmation
- Responsive Design: Mobile-friendly interface built with Tailwind CSS
- React
- React Router DOM
- Tailwind CSS
- Vite
- Node.js
- Express
- MongoDB
- CORS
- Node.js
- MongoDB Atlas account
- npm
- Clone the repository
git clone https://github.com/Russell0014/CozyCove.git
- Install backend dependencies
cd server
npm install
- Install frontend dependencies
cd client
npm install
- Create a .env file in the server directory with:
MONGODB_URI=your_mongodb_connection_string
FRONTEND_URL=http://localhost:5173
PORT=3000
- Create a .env file in the client directory with:
VITE_API_URL=http://localhost:3000
- Start the backend server
cd server
npm run dev
- Start the frontend development server
cd client
npm run dev
The application will be available at http://localhost:5173