Git Product home page Git Product logo

codechallenge3's Introduction

FLATDANGO MOVIE TICKET PURCHASE APP Flatdango is a web application that allows users to purchase movie tickets from the Flatiron Movie Theater. The app fetches movie data from a local server and provides a user-friendly interface for browsing movies and buying tickets.

Features View the details of the first movie, including its poster, title, runtime, showtime, and available tickets. See a menu of all movies on the left side of the page. Buy tickets for a movie, with real-time updates on the available ticket count.

TECHNOLOGIES USED

HTML5 CSS3 JavaScript Installation Clone the GitHub repository: git clone https://github.com/your-username/flatdango.git Navigate to the project directory: cd flatdango Start a local HTTP server (e.g., using Python): python -m http.server Open your web browser and visit http://localhost:8000 to access the application. API Endpoints The application fetches movie data from the local server using the following API endpoints:

GET /films/1: Retrieves the details of the first movie. GET /films: Retrieves a list of all movies. The server responds with JSON data containing movie details such as ID, title, runtime, capacity, showtime, tickets sold, description, and poster URL.

USAGE

When the page loads, you will see the details of the first movie, including the movie poster, title, runtime, showtime, and available tickets. On the left side of the page, you will find a menu displaying all the available movies. To buy a ticket for a movie, enter the desired quantity in the "Ticket Quantity" input field and click the "Buy Ticket" button. The available ticket count will update in real-time, and if the showing is sold out, you will not be able to buy any more tickets. Please note that this application does not persist ticket purchases. It is for demonstration purposes only.

CONTRIBUTING

Contributions to the Flatdango project are welcome! If you find any issues or have suggestions for improvement, please submit a pull request or open an issue on the GitHub repository.

LICENSE This project is licensed under the MIT License.

codechallenge3's People

Contributors

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