This project exposes the API for Ticket booking Platform :ticket: . It is made using NodeJS and MySql as database
This project is made for Udaan Developer Challenge.
This project contains the API of the Ticket Booking Platform .
NodeJS with Express is used as framework for the development of the application.
Database: MySql
ORM used: Sequelize
In the console, download a copy of the repo by running git clone https://github.com/gauravano/Ticket-Booking-Platform---Udaan-dev-challenge.git
.
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:
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;
npm start
or node server
for a running development server. Navigate to http://localhost:9090/
.Run npm start
or node server
for a running development server. Navigate to http://localhost:9090/
.
The Booking platform API is live at https://ticketing-udaan.herokuapp.com/ .
API for posting screen(movie) details
API for reserving movie tickets
API for fetching reserved/unreserved seats
If you have any question regarding this project feel free to open a new issue. Thanks!