Project Title

This project is a RESTful API built with Node.js, Express, and MongoDB using Mongoose. It provides endpoints for managing posts, comments, and user authentication.

Features

  • Posts: CRUD operations for posts, including pagination, likes, and comments.
  • Comments: Add comments to posts.
  • Users: User registration, login/logout using bcrypt and JWT.
  • Authentication: Middleware for verifying post ownership during edit/delete operations.

Technologies Used

  • Node.js
  • Express
  • MongoDB (Mongoose)
  • bcrypt (password hashing)
  • JSON Web Tokens (JWT)

Getting Started

Installation