A full-stack web application for booking movie tickets.
- Front-end: React (JavaScript)
- Back-end: Node.js (JavaScript)
- Database: MongoDB
- User SignUp and Login.
- Browse movies and view movie details
- Search movies.
- Book movie tickets
- After booking ticket seat are visible based on booking status
- Seat availablity based on UsetrId.
-
Clone the repository:(https://github.com/Vishal062/ticket_app.git)
-
Install dependencies for the front-end:(>cd client, npm i)
-
Install dependencies for the back-end:(>cd server, npm i)
-
Set up MongoDB database
- Install MongoDB and make sure it's running on your local machine or specify the remote MongoDB connection URL in the configuration file.
- Configure environment variables:
- Create a
.env
file in thebackend
directory and provide the necessary environment variables such as database connection URL, JWT secret, etc.
- Start the development server:
- Start the front-end server:npm start
- Start the back-end server:npm run dev