Skip to content

new2code/python-web-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Flask Web Application

A beginner-friendly web application built with Python and Flask to demonstrate web development concepts. This app serves a dynamic web page with interactive features and provides a JSON API endpoint for learning full-stack development fundamentals.

Prerequisites

  • Python 3.7 or higher
  • pip (Python package installer)

Setup

  1. Clone the repository

    git clone https://github.com/new2code/python-web-application
    cd python-web-application
  2. Create virtual environment

    python3 -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies

    pip install -r requirements.txt

    Note: If you see a warning about upgrading pip, run:

    python3 -m pip install --upgrade pip
  4. Run the application

    python app.py
  5. View in browser

    Open http://localhost:5000

Project Structure

python-web-application/
├── app.py              # Main Flask application
├── requirements.txt    # Python dependencies
├── templates/
│   └── index.html     # Home page template
└── static/
    ├── styles.css     # Stylesheet
    └── script.js      # JavaScript

Features

  • Beginner-friendly Flask web server
  • HTML templating with Jinja2
  • Static file serving (CSS, JavaScript)
  • JSON API endpoint
  • Interactive frontend

Learn More

About

An Python project for demonstration purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy