Skip to content

This project exposes the API for Ticket booking Platform 🎫 . It is made using NodeJS and MySql as database

Notifications You must be signed in to change notification settings

Shrirama-Upadhya-A/Ticket-Booking-Platform---Udaan-dev-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ticket-Booking-Platform - Udaan-dev-challenge

This project is made for Udaan Developer Challenge.

About the project

This project contains the API of the Ticket Booking Platform 🎫.

Technology Stack

NodeJS with Express is used as framework for the development of the application.

Database: MySql

ORM used: Sequelize

Installation

  1. In the console, download a copy of the repo by running git clone https://github.com/gauravano/Ticket-Booking-Platform---Udaan-dev-challenge.git.

  2. Enter the new Ticket-Booking-Platform---Udaan-dev-challenge directory with cd Ticket-Booking-Platform---Udaan-dev-challenge.

3.[Optional] For syncing the MySql database locally:

  1. Uncomment these lines https://github.com/gauravano/Ticket-Booking-Platform---Udaan-dev- challenge/blob/e408e6f8dec13bdc16885d4b85c41bc558a08e33/db.js#L14-L22
  2. Comment these lines https://github.com/gauravano/Ticket-Booking-Platform---Udaan-dev- challenge/blob/e408e6f8dec13bdc16885d4b85c41bc558a08e33/db.js#L2-L11
  3. Copy the below lines in terminal after running sudo mysql in terminal:
 create database ticketing;
 create user gaurav_ticketing identified by 'Ticketing 1';
 use ticketing;
 grant all privileges on ticketing to gaurav_ticketing;
 grant all privileges on ticketing.* to gaurav_ticketing;
  1. Run npm start or node server for a running development server. Navigate to http://localhost:9090/.

Development server

Run npm start or node server for a running development server. Navigate to http://localhost:9090/.

Screenshots

The Booking platform API is live at https://ticketing-udaan.herokuapp.com/ .

api for posting screen details API for posting screen(movie) details

api for reserving tickets API for reserving movie tickets

api for getting data API for fetching reserved/unreserved seats

If you have any question regarding this project feel free to open a new issue. Thanks!

About

This project exposes the API for Ticket booking Platform 🎫 . It is made using NodeJS and MySql as database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%