Ticketease is a Node.js-powered web-based ticket booking platform that enables users to browse movies, select theaters, and make reservations seamlessly. This repository was created to help developers get started with Open Source during Hacktoberfest
NOTE: Check out
issues
labelled asHacktoberfest
and start contributing!
Made with ❤️ by IEEE-VIT
Support Open Source by participating in Hacktoberfest💛
Ensure you have the following installed on your system:
Create a .env
file in the root of your project.
Add the required environment variables:
PORT=your_port_number
DB=your_mongodb_connection_string
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
SESSION_SECRET=your_session_secret
Replace the placeholder values with your actual credentials.
Clone the repository to your local machine:
$ git clone https://github.com/IEEE-VIT/Ticket-Booking-Portal.git
Navigate into the backend directory:
$ cd backend
Create uploads directory:
$ mkdir uploads
To setup this project, simply run the following command:
$ npm install
It should create a node_modules
folder, and you're good to go! :)
$ npm run dev
The project is organized into the following key directories and files:
routes/ - Contains the route definitions for the API endpoints.
routes/User.js
- Routes for user-related operations.routes/Movie.js
- Routes for movie-related operations.routes/Theater.js
- Routes for theater-related operations.routes/Screen.js
- Routes for screen-related operations.routes/Booking.js
- Routes for booking-related operations.controller/ - Contains the logic to handle the operations for each model.
controller/User.js
- Handles user operations.controller/Movie.js
- Handles movie operations.controller/Theater.js
- Handles theater operations.controller/Screen.js
- Handles screen operations.controller/Booking.js
- Handles booking operations.To start contributing, check out CONTRIBUTING.md. New contributors are always welcome to support this project. Check out issues labelled as Hacktoberfest
if you are up for some grabs! :)
This project is licensed under MIT