Skip to content

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.

Notifications You must be signed in to change notification settings

hardipsolanki22/The-Blog-Api

Repository files navigation

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.

Project Demo

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:
    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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published