Skip to content

Latest commit

 

History

History
67 lines (29 loc) · 1019 Bytes

README.md

File metadata and controls

67 lines (29 loc) · 1019 Bytes

Overview

This is a Flask-based URL shortener that demonstrates fundamental web development concepts including:

  • HTTP methods (GET/POST)

  • Form handling

  • URL routing

  • Data storage (in-memory)

  • Basic error handling

  • Template inheritance

  • Responsive web design

Project Structure


url_shortener/

    ├── app/                  # Main application package

    │   ├── __init__.py      # Flask application initialization

    │   ├── routes.py        # URL routing and business logic

    │   └── templates/       # HTML templates

    │       ├── base.html    # Base template with shared layout

    │       └── index.html   # Main page template





## How to Run the Project

1. Install Flask:

```bash

pip install flask

  1. Run the application:
python run.py
  1. Open http://localhost:5000 in your browser

    └── run.py              # Application entry point