Skip to content

This project is built with Python Flask, Bootstrap, and JQuery. This system simply implements basic CRUD features for the booking list table and queries available trains, seats, and prices from the train schedule table.

License

Notifications You must be signed in to change notification settings

tom970505/Flask_SimpleTrainTicketReserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Train Ticket Reservation System with Flask

This project is built with Python Flask, Bootstrap and JQuery.

This system simply implements basic CRUD features for the booking list table and queries available trains, seats, and prices from the train schedule table.

Using AJAX or form submit to communicate with server side.

cover02

cover

Requirement

Python 3.6.5 Flask 1.0.2 Flask-Cors 3.0.4 Flask-MySQLdb 0.2.0 PyMySQL 1.0.2 SQLAlchemy 1.2.7 Pandas 0.23.0

Installation

  1. Clone this repository

  2. Install dependencies

Usage

  1. Create your DB in MySQL :
    CREATE DATABASE *****;  // your DB name 
  2. Create default Tables: Remember to fix DB username and password in file.
   python dbCreate.py
  1. Execute system: Remember to fix DB username and password in file.
   python App.py

About

This project is built with Python Flask, Bootstrap, and JQuery. This system simply implements basic CRUD features for the booking list table and queries available trains, seats, and prices from the train schedule table.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages