Skip to content

GrandMark Hotel Reservator is a full-stack web app that lets users rent unique stays or host their own places. Whether you're looking for a cozy getaway or want to earn by listing your property, GrandMark makes it seamless.

Notifications You must be signed in to change notification settings

Sundar2k4/GrandMark_HotelReservator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

68 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏨 GrandMark Hotel Reservator

Welcome to GrandMark – a modern, full-stack hotel reservator web application where users can seamlessly host their own properties or rent unique places for a memorable stay. Whether you're a traveler looking for a peaceful escape or a host wanting to share your special space with the world, GrandMark is built to make the experience smooth, secure, and beautiful.


✨ Features

  • βœ… User Authentication

    • Secure login & registration using JWT
    • Context-based user management (React Context API)
  • 🏑 Host a Place

    • Add your property with detailed descriptions, images, pricing, perks, and availability
    • Edit or delete your listings at any time
  • 🌍 Explore & Book Stays

    • Browse all listed properties
    • View full details including amenities, photos, price, and location
    • Book a place by selecting dates and number of guests
  • πŸ–ΌοΈ Photo Gallery & Viewer

    • Upload multiple images while listing a property
    • Zoomable, modal-based image viewer on the place detail and booking pages
  • πŸ“… My Bookings Page

    • View all your current and past reservations
    • Booking summary includes price, dates, contact info, and property details
  • βš™οΈ Responsive Design

    • Mobile-first, responsive design using Tailwind CSS for a beautiful look on any device

βš™οΈ Tech Stack

Layer Tech Stack
Frontend React, Tailwind CSS, React Router
Backend Node.js, Express.js, JWT
Database MongoDB (Mongoose ODM)
API Calls Axios
Uploads Multer for image handling
Hosting Vercel (frontend), Render (backend)

🌐 Live Demo



πŸš€ Getting Started Locally

1. Clone the Repository

git clone https://github.com/your-username/grandmark-hotel-reservator.git
cd grandmark-hotel-reservator

2. Set Up the Backend

cd api
npm install

# Create a .env file
touch .env

.env file example:

MONGO_URL=mongodb+srv://<your-db-url>
JWT_SECRET=your_jwt_secret

Run the backend:

npm run dev

3. Set Up the Frontend

cd ../client npm install npm run dev


πŸ“ Project Structure

grandmark-hotel-reservator/ β”œβ”€β”€ client/ # Frontend React App β”‚ β”œβ”€β”€ pages/ # All pages (Login, Register, Booking, etc.) β”‚ β”œβ”€β”€ components/ # Reusable UI components β”‚ └── UserContext.jsx # Global auth/user context β”‚ β”œβ”€β”€ api/ # Backend Express App β”‚ β”œβ”€β”€ models/ # MongoDB schemas β”‚ β”œβ”€β”€ routes/ # API endpoints β”‚ β”œβ”€β”€ middleware/ # Auth middleware, file upload config β”‚ └── uploads/ # Uploaded images stored here β”‚ └── README.md


🧠 Tips for Deployment


🀝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to open a pull request or fork the repo to enhance the app.


πŸ“ƒ License

This project is licensed under the MIT License.


πŸ‘¨β€πŸ’» Developer

Made with ❀️ by Sundar

Connect with me:
πŸ”— GitHub
πŸ“§ Email

About

GrandMark Hotel Reservator is a full-stack web app that lets users rent unique stays or host their own places. Whether you're looking for a cozy getaway or want to earn by listing your property, GrandMark makes it seamless.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages