An open API service indexing awesome lists of open source software.

https://github.com/pranjalco/flask-blog-project

This Flask blog app lets users register, log in, and create posts. It includes Home, About, and Contact pages, with email contact support. The database manages users, posts, and comments, with only the admin having full CRUD access. All users can comment, and flash messages handle errors.
https://github.com/pranjalco/flask-blog-project

api-integration backend-development bootstrap database-management flask flask-application programming python sqlalchemy web-development wtforms

Last synced: 3 months ago
JSON representation

This Flask blog app lets users register, log in, and create posts. It includes Home, About, and Contact pages, with email contact support. The database manages users, posts, and comments, with only the admin having full CRUD access. All users can comment, and flash messages handle errors.

Awesome Lists containing this project

README

          

# Blog Project Advanced
This **Flask blog application** allows users to register, log in, and create blog posts. It includes **Home, About, and Contact pages**, where users can contact the blogger via email. The project uses a database with **User, BlogPost, and Comment tables**, establishing necessary relationships. Only the **first registered user (admin)** can perform CRUD operations on blog posts. All users can **comment on posts**, and flash messages provide feedback on errors like incorrect login details.

## Video
[![Video Demo](./screenshots/thumbnail.PNG)](https://youtu.be/Z6DqWVMgK14)

## Author
Pranjal Sarnaik

## Features
- **User Authentication**: Register, log in, and log out securely.
- **Admin Controls**: Only the first registered user can add, edit, or delete blog posts.
- **Commenting System**: Users can comment on blog posts.
- **Email Contact Form**: Users can send messages to the blogger.
- **Flash Messages**: Displays validation errors and login feedback.

## Level
Advanced

## Tech Stack
Flask | SQLAlchemy | Flask-Login | Flask-Bootstrap | Flask-CKEditor | Flask-Gravatar | WTForms | SQLite | Web Development | Python

## How to Run
1. Clone the repo:
```bash
git clone https://github.com/pranjalco/flask-blog-project.git

2. Install dependencies and run:
```bash
pip install -r requirements.txt
pip install -r requirements_3.12.txt
python main.py
```
**Created by Pranjal Sarnaik**
*Released under the MIT License*