This repository is designed to help you learn Flask from the basics. It includes various sessions that cover fundamental topics and concepts of web development using Flask.
- Session 1: Introduction to Flask
- Session 2: Dynamic URL, Redirection, URL Building
- Session 3: Jinja, Templates & Inheritance
- Session 4: Web Forms & Input Validation
- Session 5: Databases
- Session 6: Sessions
- Session 7: Cookies
To install the required packages, run the following command in your terminal:
pip install -r requirements.txt
To run the Flask application, activate your virtual environment and use the following command:
python app.py
Make sure to replace app.py
with the main file name of your application if it differs.
The goal of this repository is to provide hands-on experience with Flask, including:
- Understanding the basics of web applications
- Handling dynamic URLs and redirections
- Using templates and inheritance with Jinja
- Validating user input through forms
- Interacting with databases
- Managing user sessions and cookies
Feel free to contribute to this repository by adding your own examples or improving the documentation.
- You can add sections for screenshots or examples if you have any visual aids.
- Consider adding a brief description for each session to give users an overview of what they will learn.
- If you plan to make further modifications or add more sessions, you can include a roadmap for future improvements.
Feel free to customize this template as needed! Let me know if you need any further assistance.