0GiS0 / tour-of-heroes-flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tour of Heroes using Python and Flask

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.

Prerequisites

  • 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.

Getting Started

  1. Clone the repository
git clone

Using PyCharm

  1. Open the project in PyCharm
  2. Go to Run > Edit Configurations
  3. Click the + button and select Flask Server
  4. Set the Target type to Script path
  5. Set the Script path to app.py
  6. Make sure the Python interpreter is set to the correct Python interpreter
  7. Click OK
  8. Click the green play button to run the application

Using Visual Studio Code

  1. Open the project in Visual Studio Code
  2. Open the app.py file
  3. Click the Run button in the top right corner of the editor
  4. Select Run and Debug
  5. Select Flask from the dropdown
  6. Click the green play button to run the application

About


Languages

Language:CSS 80.5%Language:HTML 9.5%Language:Python 5.8%Language:Dockerfile 3.5%Language:Shell 0.7%