This project is a simple web application that demonstrates the basic concepts of a web application using Python and Flask. The application is a simple hero management application where you can view a list of heroes, add a new hero, update a hero, and delete a hero.
- Tour Of Heroes API. You can find the API [here](
- Python 3.6 or higher
Or you can use Dev Containers in Visual Studio Code or PyCharm.
- Clone the repository
git clone
- Open the project in PyCharm
- Go to
Run > Edit Configurations
- Click the
+
button and selectFlask Server
- Set the
Target type
toScript path
- Set the
Script path
toapp.py
- Make sure the
Python interpreter
is set to the correct Python interpreter - Click
OK
- Click the green play button to run the application
- Open the project in Visual Studio Code
- Open the
app.py
file - Click the
Run
button in the top right corner of the editor - Select
Run and Debug
- Select
Flask
from the dropdown - Click the green play button to run the application