Skip to content

MERN STACK PROJECT - User can search and locate hotels and make reservations.

Notifications You must be signed in to change notification settings

vishalpatel011/Booking-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Booking App

A full-stack MERN (MongoDB, Express.js, React.js, Node.js) application that allows users to search, locate hotels, and make reservations.

🌐 Live Demo

Visit the deployed application at: Booking App

🚀 Features

  • User authentication and authorization
  • Hotel search and filtering
  • Room availability checking
  • Secure payment processing
  • Booking management
  • Admin dashboard for hotel management
  • Responsive design for all devices

🛠️ Tech Stack

  • Frontend: React.js
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Authentication: JWT
  • Styling: CSS/SCSS

📁 Project Structure

booking-app/
├── client/          # Frontend React application
├── api/             # Backend Node.js/Express server
├── admin/           # Admin dashboard
└── node_modules/    # Dependencies

🚀 Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB
  • npm or yarn

Installation

  1. Clone the repository
git clone https://github.com/yourusername/booking-app.git
cd booking-app
  1. Install dependencies
# Install backend dependencies
cd api
npm install

# Install frontend dependencies
cd ../client
npm install

# Install admin dashboard dependencies
cd ../admin
npm install
  1. Set up environment variables Create a .env file in the api directory with the following variables:
MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
PORT=5000
  1. Start the application
# Start backend server
cd api
npm start

# Start frontend application
cd client
npm start

# Start admin dashboard
cd admin
npm start

🔒 Environment Variables

Make sure to set up the following environment variables:

  • MONGODB_URI: Your MongoDB connection string
  • JWT_SECRET: Secret key for JWT authentication
  • PORT: Server port (default: 5000)

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

👥 Authors

  • Vishal Patel

About

MERN STACK PROJECT - User can search and locate hotels and make reservations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published