Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
13 views2 pages

Blog Management System

The document outlines a Blog Management System utilizing a tech stack that includes React for the frontend, Flask for the backend, and MongoDB for the database. Key features include user authentication, CRUD operations for blog posts and comments, and the ability to categorize and manage post statuses. It also provides API endpoints for creating, editing, deleting blog posts, and adding comments, along with a detailed database schema for the blogs collection.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Blog Management System

The document outlines a Blog Management System utilizing a tech stack that includes React for the frontend, Flask for the backend, and MongoDB for the database. Key features include user authentication, CRUD operations for blog posts and comments, and the ability to categorize and manage post statuses. It also provides API endpoints for creating, editing, deleting blog posts, and adding comments, along with a detailed database schema for the blogs collection.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Blog Management System

Tech Stack:

●​ Frontend: React (Next.js, Tailwind CSS)


●​ Backend: Flask (CRUD for blogs, comments)
●​ Database: MongoDB (Blog posts and comments)
●​ Authentication: Appwrite

Features:

✅ User authentication​
✅ Create, edit, and delete blog posts​
✅ Allow comments on blog posts​
✅ View blog posts by category​
✅ Publish/draft mode for posts
API Endpoints:
Method Route Description

POST /blogs/create Create a new blog


post

GET /blogs Get all blog posts

PUT /blogs/{id}/edi Edit a blog post


t

DELETE /blogs/{id}/del Delete a blog post


ete

POST /blogs/{id}/com Add a comment


ment

Database Schema (MongoDB)

Blogs Collection
json
{
"_id": "ObjectId",
"user_id": "ObjectId",
"title": "string",
"content": "string",
"category": "string",
"status": "Published/Draft",
"comments": [
{
"commenter": "string",
"comment": "string",
"timestamp": "ISODate"
}
],
"created_at": "ISODate"
}

You might also like