This project is designed to serve as a starting point for building web applications using the Flask framework. It includes sample code and templates for creating web pages and handling basic web application functionality.
static/css
: Directory for storing CSS files.templates
: Directory for storing HTML templates.app1.py
: Sample Python file for a basic Flask web application - hello worldapp2.py
: Sample Python file for a multiple pages.app3.py
: Sample Python file for a Flask web application for rendering html pages.
- Python+
- Flask (install via
pip3 install Flask
)
-
Clone the repository:
git clone https://github.com/PytechAcademy/FlaskApps.git
-
Navigate to the project directory:
cd FlaskApps
-
Run one of the sample Flask applications (e.g.,
app1.py
) using Python:python app1.py
-
Access the application in your web browser at http://localhost:5000.