/twitter-clone-api

An attempt to learn from the way Twitter works.

Primary LanguageJavaScript

Twitter clone API

This project is a work in progress.

This is a project I built while learning Node.js/Express and MongoDB. A REST API with most of Twitter's main features.

Features

  • Authentication/Authorization
  • Users can create, edit, like, retweet and quote tweets.
  • Users can follow, unfollow, mute, block, unblock, turn on and off notifications of users.
  • Users can change, remove profile and cover photo
  • Users get updated tweets on their TL based on who they follow and those whose tweets their followings interact with
  • Others coming ⚡

Usage

Go to the .sample.env file in the root directory and create your own .env file.

Install dependencies:

npm i

start dev server:

npm run dev

start

npm start

test:

npm test

API Documentation

https://documenter.getpostman.com/view/8476412/Szf3ZV8L?version=latest