/Flatdjango

Kindly click the link below to access the Flatdjango website:

Primary LanguageJavaScript

FlatDjango code-challenge

Description

This application allows you to chose a movie you would like to watch, and buy the ticket.

User Story

  • the user is able to view a list of available movies in that the Flatdjango theatre is offering.
  • The user is able to see the available number of tickets for each movie.
  • the user is able to buy tickets for a film of choice.

Development Requirements

  • Visual Studio Code.
  • Live server extension.
  • json-server packages installed
  • npm
  • Browser(Chrome or any other Chromium based Browser)

Development Installation

To get the code..

  1. Got to the following github repository to access the files.
https://github.com/Sirumba/Flatdjango/
  1. Fork and Clone the repository above to your local computer.

  2. Move to the folder where you cloned the files and install requirements and make sure you are in the below directory:

cd Flatacuties-week2/
  1. Open the folder in VS Code using the command
code .
  1. Before running the application
  • The following command will activate the backend before testing the application. You can run the following command in the terminal inside the VS Code
 json-server --watch db.json 
  1. Running the application
  • right click on the index.html file and run using Live Server to open the application in your web browser
  1. Open the application on your browser:http://127.0.0.1:5502/

You can now interact with the application and make the necessary operations

Technology used

Author

Project contributed to by: Simon Sirumba Maina

Licence

This project is licensed under the ISC licence