Skip to content

Achuz123/BOOKING-APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎬 Movie Ticket Booking App

A full-stack web application where users can book movie tickets online. It includes user authentication, theater management, show management, online payment using Stripe, and seat selection with real-time booking updates.


🧠 Tech Stack

  • Frontend: React.js, Redux, Tailwind CSS, Ant Design
  • Backend: Node.js, Express.js
  • Database: MongoDB (Mongoose)
  • Payments: Stripe
  • Authentication: JWT (JSON Web Token)

🌟 Features

  • ✅ User Authentication (Login, Register)
  • ✅ Movie Listing
  • ✅ Theatre and Show Management (for Admins)
  • ✅ Seat Selection with Real-time Availability
  • ✅ Payment Gateway Integration using Stripe
  • ✅ Booking History & Booking Details
  • ✅ Responsive UI

🔧 Installation Guide (Step-by-Step)

✅ Prerequisites


🚀 Steps to Run Locally

🔗 1. Clone the Repository

git clone https://github.com/your-username/your-repo.git
cd your-repo

📦 2. Install Dependencies

Backend:

cd backend
npm install

Frontend:

cd frontend
npm install

⚙️ 3. Create Environment Variables

Create a file named .env in the backend folder.

MONGO_URL=your_mongodb_connection_string
SECRET_KEY=your_jwt_secret_key
STRIPE_KEY=your_stripe_secret_key

Example:

MONGO_URL=mongodb+srv://username:password@cluster.mongodb.net/databasename
SECRET_KEY=yourSecretKey
STRIPE_KEY=sk_test_***************

▶️ 4. Run Backend Server

cd backend
npm start

The backend will start at:

http://localhost:5003

💻 5. Run Frontend App

cd frontend
npm start

The frontend will start at:

http://localhost:3000

Usage

  • ➕ Register an account or login
  • 🎥 Browse movies
  • 🎟️ Select a show and choose seats
  • 💳 Complete payment via Stripe
  • 📃 View your booking details in the profile section

🙌 Support

If you like this project, ⭐️ star it on GitHub and share it with others!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages