Git Product home page Git Product logo

ticket-booking-platform---udaan-dev-challenge's Introduction

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!

ticket-booking-platform---udaan-dev-challenge's People

Contributors

grvsachdeva avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.