This is a project which outputted from elasti_py/ Day071 repo.
| Explain the path till here... | Overview | How to Run | ER-Diagram | What I Learned | Screen Shots |
This project made at elasti_py/ Day057/ 3. Capstone Project for first time and improved many times in elasti_py/ Day059/ Upgraded Blog && elasti_py/ Day060/ 2. blog with contact form && elasti_py/ Day067/ Upgraded Upgraded Blog Site with what we learned about Flask framework in general to learn through the Udemy course Udemy – 100-days-of-code: Python - Angela Yu.
This project is a personal blog web application built with Flask and its related extensions.
Users can create accounts, log in securely, publish blog posts, leave comments, and interact with content shared by other users.
The application focuses on user authentication, content management, database integration, and building dynamic web experiences using Flask.
- Flask
- Flask-SQLAlchemy
- Bootstrap-Flask
- Flask-CKEditor
- Flask-WTF
- Flask-Login
- Jinja2
- Wekzeug Security
- SQLAlchemy
- SQLite
- Bootstrap 5
- HTML, CSS, JavaScript
-
Ensure you have Python installed.
-
Clone the repository:
git clone https://github.com/erfaw/elasti_py-Day071-erf-Deploy-Blog-Site -
Make Virtual Environment:
python -m venv .venvthen on Git Bash:
source ./.venv/Scripts/activate -
Install dependencies:
pip install requirements.txt -
Make
.envforSECRET_KEY:touch .envthen inside it make a key-value pare like this:
SECRET_KEY="PUT_YOUR_KEY_HERE"then fill it with a STRONG one!
-
Run local (
DEBUG = True):python main.py
- Building a full-stack web application using
Flaskand its ecosystem. - Working with
SQLAlchemy ORMand designing relational database schemas. - Gaining a deeper understanding of SQLAlchemy
models,relationships, and database operations. - Implementing user authentication, registration, and login systems.
- Understanding password security concepts, including
hashingandsalting. - Learning the importance of securely storing user credentials and sensitive data.
- Using
Jinja2templates and understanding Python web application templating systems. - Creating secure web forms with CSRF protection using
Flask-WTF. - Understanding
CSRF attacksand common web security vulnerabilities. - Developing greater awareness of fundamental
cybersecurity principlesin web applications. - Applying
web design principles, including color theory, typography, user interface (UI), and user experience (UX) design. - Managing form validation and browser-side
validation behaviorfor greater control over application logic. - Understanding the role of
WSGIandGunicornin deploying Python web applications.
| Home | About |
|---|---|
|
|
| Contact | Login |
|---|---|
|
|
| Register | Sample Post |
|---|---|
|
|






