Activity 48: Documentation of Python SMTPIntroduction to SMTP and its Importance In this section, you will explain SMTP (Simple Mail Transfer Protocol), its role in email communication, and its significance. SMTP (Simple Mail Transfer Protocol) is a protocol used for sending emails across t...Dec 4, 2024·5 min read
Activity 40: Documentation of Python Flask CookieDocumentation of Activity 39: Python Flask Cookies What are Cookies? Cookies are small pieces of data stored on the user's computer by the web browser while browsing a website. They are used to remember information about the user, such as login statu...Nov 26, 2024·2 min read
Activity 39: Python Flask CookieImplementation of a Flask application that handles cookies using both POST and GET methods as per the Activity 39 requirements. Implementing Cookies in Flask Step 1: Set Up Your Flask Project Create a New Project Folder: mkdir nicolas_python_flask...Nov 26, 2024·2 min read
Activity 38: Documentation of your Python .env and gitignoreWhat is a .env File? A .env file is a straightforward text file that serves to store environment variables. Within a Flask application, it is typically used to safeguard sensitive information, such as: Database credentials API keys Secret keys for...Nov 26, 2024·3 min read
Activity 37: Python Flask .env and gitignoreTo complete this activity on using .env and .gitignore in a Python Flask project, set up a secure environment configuration and then push the project to GitHub: Set Up a New Flask Project Create a new project folder: mkdir salibay_env_gitignore ...Nov 26, 2024·2 min read
Activity 35: Documentation of your Basic CRUD APISTEP 1: Set Up python Flask in cmd First is I’ve set up the python flask virtual and make sure that it is activated and connected it on GitHub repository which named as basic-crud-flask STEP 2: Follow the basic crud blueprint structure # TODO: import...Nov 13, 2024·2 min read
Basic CRUD Python FLask APIPrerequisite Virtual Environment and Python Package Manager Install Python Flask .gitignore for virtual environment Make an app.py file and add this code #import flask LIBRARY from flask import Flask, jsonify, request # call the flask object ap...Nov 6, 2024·3 min read