Flatiron Movie Theater is open for business! Flatdango Movie application is an application that allows a user to purchase movie tickets from the theater.
In this APPLICATION As a user, I can:
- See the first movie's details, including its poster, title, runtime,
showtime, and available tickets when the page loads. The number of
available tickets will need to be derived by subtracting the number of
tickets_soldfrom the theater'scapacity - See a menu of all movies on the right side of the page in the
ul#films - Buy a ticket for a movie. After clicking the "Buy Ticket" button, I should see the number of available tickets decreasing on the frontend
- To run this application you need to have stable internet connection
- You also need to have a smartphone or a computer
- HTML
- CSS
- JavaScript
- Clone the repository into your local machine using the command git clone ""
- For the data in the db.json file to run you need to install the json-server using this command "npm install -g json-server
- In the terminal navigate to the folder with your db.json file using command "cd"
- Start the server using this command "json-server --watch db.json"
- opening the index.html file will show the application running.