Skip to content

RiyanBhargava/ACM-Flask-Workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Workshop

Welcome to the Flask Workshop! This repository provides the materials used in the Flask workshop conducted by the ACM chapter at BITS Pilani Dubai Campus, covering Python basics, Flask setup, and web application development.

Table of Contents

  1. Overview
  2. Workshop Outline
  3. Prerequisites
  4. Getting Started
  5. Project Overview
  6. Run the Application
  7. Resources

Overview

This workshop introduces participants to Python and Flask, guiding them from basic programming concepts to building a simple web application. Flask is a lightweight and flexible web framework in Python, ideal for both beginners and experienced developers.

Workshop Outline

  1. Basics of Web Development
  2. Introduction to Python
  3. Workshop Prerequisites
  4. Displaying "Hello, World!" in Terminal
  5. Variables and Data Types
  6. Conditional Keywords (if, elif, else)
  7. Loops (while, for)
  8. Functions
  9. Strings and String Functions
  10. Lists and List Functions
  11. Dictionaries
  12. Introduction to Flask
  13. Setting Up Your Environment
  14. Getting Started with Flask
  15. Working with Templates
  16. Template Inheritance
  17. Project Overview: Task Manager
  18. Updating the UI
  19. POST and GET Methods

Prerequisites

Please ensure the following are installed on your system:

  • Python 3.x
  • A code editor (e.g., Visual Studio Code)
  • pip, the Python package manager (included with Python)

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/flask-workshop.git
    cd flask-workshop
  2. Set up a virtual environment:

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

    • Windows: .\venv\Scripts\activate
    • macOS/Linux: source venv/bin/activate
  4. Install Flask:

    pip install flask

Project Overview

This workshop includes building a simple Task Manager Web Application with the following features:

  • Add tasks with descriptions
  • Display tasks with the date added
  • Update and delete tasks

Run the Application

  1. Start the Flask application:
    python app.py
  2. Open your web browser and go to http://localhost:5000 to view the application.

Resources


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published