Mortgy / twitter-backend

Express.js twitter backend api

Home Page:https://twitter-frontend.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twitter Clone Frontend

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

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

🚀 Tech Stack

  • NodeJs
  • Express
  • MongoDB
  • Mongoose

⚠️ Prerequisite

  • node
  • npm
  • mongodb

📜 Todo

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

💿 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
DATABASE_URL=<YOUR_DB_CONNECTION_URI>
- npm install  
- npm run start

UI

Home

Home

Home

Explore

Explore

Explore

Lists

Lists

Lists

More

More

Profile

Profile

Profile

About

Express.js twitter backend api

https://twitter-frontend.vercel.app


Languages

Language:JavaScript 100.0%