GithubHelp home page GithubHelp logo

umar8637 / ticket-booking Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 176 KB

Ticket Booking App

HTML 16.97% CSS 22.38% JavaScript 60.65%
booking-system react reactjs ticketbooking ticketing-system

ticket-booking's Introduction

Ticket Booking App

The Ticket Booking App is a simple React application that allows users to book and manage tickets for various destinations. Users can enter their name, departure address, destination address, departure time, and date to book a ticket. The app also provides functionality to edit and delete existing tickets.

Features

  • Ticket Booking Form: Users can fill out a form to book a ticket with the following details:
    • Name: The name of the ticket holder.
    • Departure Address: The address from where the journey starts.
    • Destination Address: The address of the destination.
    • Departure Time: The time of departure.
    • Date: The date of the journey.
  • Ticket List: All booked tickets are displayed in a list format, showing the ticket details along with options to edit or delete each ticket.
  • Edit Ticket: Users can edit the details of an existing ticket, and the changes are reflected in the ticket list.
  • Delete Ticket: Users can remove a booked ticket from the list.
  • User Feedback: Users receive alerts upon booking a ticket or making changes to a ticket.

Installation

  1. Make sure you have Node.js installed on your system.
  2. Clone the repository or download the source code ZIP file.
  3. Open a terminal and navigate to the project directory.
  4. Run the following command to install the required dependencies:
npm install

Usage

  1. After installing the dependencies, start the development server by running the following command:
npm start
  1. Open a web browser and navigate to http://localhost:3000 to access the Ticket Booking App.

  2. Fill out the ticket booking form with your details, including name, departure address, destination address, departure time, and date.

  3. Click the "Confirm" button to book a new ticket.

  4. Booked tickets will appear in the ticket list below the form, displaying the ticket holder's name, departure and destination addresses, departure time, and date.

  5. To edit a ticket, click the "Edit" button on the corresponding ticket card. Make the necessary changes in the form fields and click the "Confirm Changes" button.

  6. To delete a ticket, click the "Delete" button on the corresponding ticket card.

  7. User feedback alerts will appear upon successful booking or changes.

ticketBooking.webm

ticket-booking's People

Contributors

umar8637 avatar

Watchers

 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.