Code Monkey home page Code Monkey logo

movie_booking_java_app's Introduction

Description

MySQL Schema

CREATE DATABASE movie_booking;
USE movie_booking;
CREATE TABLE booking_login (
	customerID INT PRIMARY KEY NOT NULL AUTO_INCREMENT,
	name VARCHAR(255) NOT NULL,
	email VARCHAR(255) NOT NULL,
	phone INT NOT NULL,
	username VARCHAR(127) NOT NULL,
	password VARCHAR(127) NOT NULL
);
INSERT INTO booking_login (name, email, phone, username, password)
VALUES('dummy', '[email protected]', '123456789', 'dummyuser', 'securedummy')
SELECT * from booking_login;
CREATE TABLE movieList (
	movieName VARCHAR(255) NOT NULL,
	theatreID INT,
	screen DATETIME
);
CREATE TABLE reservedSeat (
	movieName VARCHAR(255) NOT NULL,
	theatreID INT NOT NULL,
	date DATE,
	time TIME,
	seatID INT,
	cutomerID INT
);

To compile:

Ensure you have all dependencies installed -> MySQL (Create Schema), Java SDK, JavaFx

run ./comp_run.sh with proper arguments. (Check sh file for more details)

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.