Code Monkey home page Code Monkey logo

movie-flix's Introduction

Movie Booking Web App

This web application allows users to browse and book movie tickets online. It utilizes the TMDb API to fetch movie data and provides a user-friendly interface for selecting seats and making payments.

Features

  • Browse trending movies fetched from TMDb API.
  • Search for specific movies.
  • Book movie tickets by selecting seats.
  • Simulate payment processing for booking tickets.
  • Responsive design for seamless user experience across devices.

File Structure

  • index.html: Main page displaying trending movies and search functionality.
  • script.js: JavaScript file for fetching movie data, handling search, and displaying movie information.
  • style.css: Stylesheet for the main page.
  • booking.html: Page for selecting movie seats and booking tickets.
  • script1.js: JavaScript file for selecting seats, calculating total price, and handling booking process.
  • style1.css: Stylesheet for the booking page.
  • payment.html: Payment page for entering billing details and making payments.
  • script2.js: JavaScript file for simulating payment processing and redirecting to the main page.
  • styles2.css: Stylesheet for the payment page.

How to Run

  1. Clone the repository to your local machine.
  2. Open index.html in your web browser to start browsing movies and booking tickets.

Dependencies

  • TMDb API: The application uses the TMDb API to fetch movie data. You need to obtain an API key from TMDb and replace the KEY variable in script.js with your API key.

How to Use

  1. Browse movies on the main page.
  2. Click on a movie to view details and book tickets.
  3. On the booking page, select available seats and click "Book Now."
  4. Enter billing details and proceed to checkout on the payment page.
  5. After successful payment, the user is redirected to the main page.

Contributing

Contributions are welcome! If you have any suggestions, bug fixes, or feature requests, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

movie-flix's People

Contributors

hrishabhvarshney avatar

Stargazers

Gaurav Saini avatar  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.