https://github.com/hardipsolanki22/the-blog-api
The Blog is a social blogging platform built with Node.js, Express, MongoDB, React, and Tailwind CSS. It offers features like user signup, login, and logout; following and unfollowing users; creating, viewing, and managing posts; liking and disliking posts and comments.
https://github.com/hardipsolanki22/the-blog-api
aggregation express jwt-authentication mongoose nodejs
Last synced: 2 months ago
JSON representation
The Blog is a social blogging platform built with Node.js, Express, MongoDB, React, and Tailwind CSS. It offers features like user signup, login, and logout; following and unfollowing users; creating, viewing, and managing posts; liking and disliking posts and comments.
- Host: GitHub
- URL: https://github.com/hardipsolanki22/the-blog-api
- Owner: hardipsolanki22
- Created: 2024-12-22T09:21:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-06T09:45:54.000Z (over 1 year ago)
- Last Synced: 2025-02-27T08:30:52.355Z (over 1 year ago)
- Topics: aggregation, express, jwt-authentication, mongoose, nodejs
- Language: JavaScript
- Homepage: https://the-blog-h5bf.onrender.com
- Size: 2.39 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# The Blog
## Description
The Blog is a comprehensive social blogging platform that enables users to share their thoughts, follow other users, and engage in discussions through posts and comments. The platform features a robust set of functionalities, including user authentication, post management, and real-time updates. It is built using modern technologies like Node.js, Express, MongoDB, React, and Tailwind CSS, ensuring a seamless and responsive user experience.

## Features
- **Signup**: Users can create an account.
- **Login**: Users can log into their account.
- **Logout**: Users can log out of their account.
- **Following/Unfollowing**: Users can follow and unfollow other users.
- **Add Post**: Users can add new blog posts.
- **See All Posts**: Users can view posts.
- **See Following Users' Posts**: Users can view posts from users they follow.
- **Like/Dislike Post**: Users can like or dislike blog posts.
- **See Post Like Users**: Users can see who liked a particular post.
- **Add Comment on Post**: Users can comment on blog posts.
- **Like/Dislike Comment**: Users can like or dislike comments.
- **See Post Comments**: Users can view comments on posts.
- **Dark Mode/Light Mode**: Users can switch between dark mode and light mode.
## Technology
- **Backend**: Node.js (Express)
- **Database**: MongoDB with Aggregation Pipeline
- **Frontend**: React
- **Styling**: Tailwind CSS
## Installation
1. Clone the repository:
```bash
git clone https://github.com/hardipsolanki22/The-Blog-Api.git
cd The-Blog-Api
## Usage
- **Signup/Login**: Create an account or log into your existing account.
- **Follow/Unfollow Users**: Visit a user's profile and follow or unfollow them.
- **Add a Post**: Go to the "Add Post" section and create a new blog post.
- **View Posts**: Browse all posts.
- **Interact with Posts**: Like or dislike posts, comment on them, and see who liked the posts.
- **Comment on Posts**: Add comments to posts and like or dislike existing comments.
- **Toggle Theme**: Switch between dark mode and light mode for a better viewing experience.
## Author
- **Hardip Solanki**