twitter-backend icon indicating copy to clipboard operation
twitter-backend copied to clipboard

Express.js twitter backend api

Twitter Clone Frontend

  • Live: https://twitter-frontend.vercel.app/

Twitter clone using MERN stack (Mongo, Express, React, Node).

This is the backend repository. If you are looking for the frontend repository, click here

:rocket: Tech Stack

  • NodeJs
  • Express
  • MongoDB
  • Mongoose

:warning: Prerequisite

  • node
  • npm
  • mongodb

:scroll: Todo

  • [x] Login/Signup
  • [x] New tweet
  • [x] Like
  • [x] Comment
  • [x] View Profile
  • [x] Light theme / Dim theme / Dark theme
  • [x] Search
  • [x] Edit Profile
  • [x] Retweet

:cd: How to run local

At the root of your project create an .env file with the following contents:

JWT_SECRET=<YOUR_SECRET>
JWT_EXPIRE=30d // or any reasonable value that you prefer
MONGOURI=<YOUR_DB_CONNECTION_URI>
- npm install  
- npm run start

UI

Home

Home

Home

Explore

Explore

Explore

Lists

Lists

Lists

More

More

Profile

Profile

Profile