Twitter clone using MERN stack (Mongo, Express, React, Node).
This is the backend repository. If you are looking for the frontend repository, click here
- NodeJs
- Express
- MongoDB
- Mongoose
- node
- npm
- mongodb
- Login/Signup
- New tweet
- Like
- Comment
- View Profile
- Light theme / Dim theme / Dark theme
- Search
- Edit Profile
- Retweet
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