Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.06 KB

File metadata and controls

42 lines (27 loc) · 1.06 KB

FlaskApps

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.

Project Structure

  • 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 world
  • app2.py: Sample Python file for a multiple pages.
  • app3.py: Sample Python file for a Flask web application for rendering html pages.

Getting Started

Prerequisites

  • Python+
  • Flask (install via pip3 install Flask)

Installation

  1. Clone the repository:

    git clone https://github.com/PytechAcademy/FlaskApps.git
  2. Navigate to the project directory:

    cd FlaskApps

Usage

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