Code Monkey home page Code Monkey logo

cabsonline-taxi-booking's Introduction

CabsOnline Taxi Bookings (Web Development Assignment 2)

A Taxi Booking System with HTML, PHP, MySQL and AJAX

Overall, this assignment received full (40/40) marks as it met all required criteria.

Actors

  • Passenger: Book a Taxi
  • Admin: View Bookings, Assign a Taxi

Application Flow

Booking Flow

A passenger shall be able to book a taxi in Auckland and surrounding areas. They specify:

  • Customer Name
  • Contact Phone
  • Pick-up address (unit number if applicable, street number, street name, and suburb)
  • Destination suburb
  • Pick-up date/time

We must then generate a unique booking reference number, booking date/time (i.e. the date/time the booking is made) and status with initial value "unassigned" for the request. Then add the request in a MySQL database.

Once stored, the customer must be presented with the message:

Thank you! Your booking reference number is [bookingRefNo]. You will be picked up in front of your provided address at [pickupTime] on [pickupDate].

Admin Flow

  • An admin shall be able to view taxi bookings in a table.
  • An admin shall be able to assign a taxi to a particular booking.

Admin clicks a button to "Show Pick-up Requests" (within 2 hours from now only). Enters booking reference into text box and presses "Assign Taxi".

Upon successfully assigning a taxi, the admin is presented with the message:

The booking request [bookingRefNumber] has been properly assigned

Out of Scope

  • Authentication
  • Number of Passengers, Car Type, Building Type etc.
  • Address Validation

cabsonline-taxi-booking's People

Contributors

olafwrieden 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.