Skip to content

HARSHAVINJAMURI/Flask-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Flask-Python Application

This repository contains a simple Flask-based Python application developed by Harsha Vinjamuri. It demonstrates basic web application concepts using Flask, including routing, templating, and form handling. There are Some Lecture codes for Learning Python-Flask.

Features

  • Lightweight Flask application structure
  • URL routing and view functions
  • Templating using Jinja2
  • Example of form handling (using Flask-WTF if needed)
  • Organized project structure with templates and static assets

Installation

  1. Clone the repository:

    git clone https://github.com/HARSHAVINJAMURI/Flask-Python.git
    cd Flask-Python
  2. Create a virtual environment:

    python -m venv venv
  3. Activate the virtual environment:

    • On Windows:
      venv\Scripts\activate
    • On macOS/Linux:
      source venv/bin/activate
  4. Install the dependencies:

    pip install -r requirements.txt

Running the Application

To start the Flask application, run: python app.py

Project Structure

Flask-Python/
│
├── app.py           # Main Flask application file
├── templates/       # HTML templates (e.g., index.html)
├── static/          # Static assets (CSS, JavaScript, images)--- optional
├── requirements.txt # List of Python dependencies
└── README.md        # Project documentation

Contributing

  • Contributions to improve the application are welcome. Feel free to fork the repository and submit pull requests with your enhancements.

License

  • This project is licensed under the MIT License. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published