This is a web application that allows users to get information about Star Wars characters. Users can enter the name of a character, and the application will display relevant information about the character, including home planet details, species information, and starships they are associated with.
- Python (version 3.9.7)
- Flask (version 2.3.2)
- Clone this repository:
git clone [email protected]:antoinexu/starWar.git
- Install the required dependencies:
pip install flask
Run the Flask application:
python app.py
- Access the application in your web browser by visiting http://127.0.0.1:5000.
- Enter the name of a Star Wars character in the provided form and click the "Get Information" button.
- If there's only one character with the given name, detailed information about that character will be displayed.
- If multiple characters are found with the same name, a list of characters will be shown, and the user can choose the desired character to view detailed information.
- If no character is found for the entered name, a message will be displayed indicating that no character was found.
Please look 1.png and 2.png