Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask-Mini-Project

This is a Flask mini-project built as a practice project to strengthen concepts of web development using Flask, Jinja2 templating, and basic JavaScript. The application displays a list of services with options to view more details or purchase via modals. It focuses on practicing dynamic rendering, reusable components, and modal functionality without relying on external frameworks.

Services Management Web App

This project is a Flask-based web application that demonstrates how to manage and display services offered by a business. It includes a responsive front-end built with HTML, CSS, and Jinja2 templating, along with modal components for displaying service details and purchase confirmations.


✨ Features

  • 📋 Services Page – Displays a list of available services with serial number, name, price, and options.
  • 🔍 More Info Modal – Allows users to view detailed descriptions of each service without leaving the page.
  • 🛒 Purchase Modal – Prompts the user to confirm their purchase of a selected service.
  • Cancel / Close Support – Modals can be closed using the Cancel button, × button, or by clicking outside the modal.
  • 🖥️ Dynamic Rendering with Flask & Jinja2 – Service items are rendered dynamically from backend data.
  • 🔗 Reusable Components – Modals and service table rows are modularized for clean, maintainable code.

🛠️ Tech Stack

  • Backend: Flask (Python micro-framework)
  • Frontend: HTML5, CSS3, JavaScript
  • Templating: Jinja2

🚀 How It Works

  1. The services page fetches a list of service items (id, name, price, description).
  2. Each service is displayed in a table with action buttons (More Info / Purchase).
  3. Clicking a button opens the respective modal using JavaScript.
  4. Users can Cancel, Confirm, or close the modal seamlessly.

About

This is a Flask mini-project created as a practice project to learn web development with Flask, Jinja2, and JavaScript. It displays a list of services with options to view details or purchase via modals, focusing on dynamic rendering and reusable components.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages