Skip to content

Twitter API project featuring authentication, post upload CRUD operations, follower, following and comments and likes functionality. Built with Node.js, Express.js, MongoDB, and JWT for secure and efficient social media backend services.

Notifications You must be signed in to change notification settings

Aasuyadav1/Twitter-API

Repository files navigation

Twitter API Project

This project is a Twitter API clone that includes authentication, post upload CRUD operations, and comments and likes functionality.

Features

  • Authentication: Secure user login and registration
  • Post Upload: Create, read, update, and delete posts
  • Comments and Likes: Add comments and likes to posts

Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • JWT (JSON Web Tokens)

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js installed on your machine
  • MongoDB set up and running
  • Express.js
  • JWT

Installation

  1. Clone the repository:

    git clone https://github.com/Aasuyadav1/Twitter-API.git
    cd twitter-api-project
  2. Install dependencies:

    npm install
  3. Set up your environment variables. Create a .env file in the root directory and add the following:

    MONGODB_URI=your_mongodb_uri
    JWT_SECRET=your_jwt_secret
  4. Start the server:

    npm start

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Twitter API project featuring authentication, post upload CRUD operations, follower, following and comments and likes functionality. Built with Node.js, Express.js, MongoDB, and JWT for secure and efficient social media backend services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published