Skip to content

Russell0014/CozyCove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CozyCove - Accommodation Booking Platform

A full-stack web application for searching and booking unique accommodations, built with React, Node.js, Express, and MongoDB.

Features

  • 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

Tech Stack

Frontend

  • React
  • React Router DOM
  • Tailwind CSS
  • Vite

Backend

  • Node.js
  • Express
  • MongoDB
  • CORS

Getting Started

Prerequisites

  • Node.js
  • MongoDB Atlas account
  • npm

Installation

  1. Clone the repository
git clone https://github.com/Russell0014/CozyCove.git
  1. Install backend dependencies
cd server
npm install
  1. Install frontend dependencies
cd client
npm install
  1. Create a .env file in the server directory with:
MONGODB_URI=your_mongodb_connection_string
FRONTEND_URL=http://localhost:5173
PORT=3000
  1. Create a .env file in the client directory with:
VITE_API_URL=http://localhost:3000

Running the Application

  1. Start the backend server
cd server
npm run dev
  1. Start the frontend development server
cd client
npm run dev

The application will be available at http://localhost:5173

Made by