Skip to content

nisargshah2000/Twitter-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Clone With Admin Dashboard

Deployed Website

To run this project, do the following :

create .env file in React-Frontend Folder with the following code (update credentials).

REACT_APP_API_URL=http://localhost:8080
REACT_APP_GOOGLE_CLIENT_ID=xxxxxx.apps.googleusercontent.com

create another .env file in Social Network Backend Folder with the following code (update credentials).

MONGO_URI=mongodb://localhost:27017/socialNetworkDB
JWT_SECRET=xxxxxx
CLIENT_URL=http://localhost:3000
REACT_APP_GOOGLE_CLIENT_ID=xxxxxx.apps.googleusercontent.com
EMAIL=xxxxx (smtp email)
PASSWORD=xxx (smtp password)

Then run the following commands to start the App.

cd Social-Network-Backend/
npm i
node app.js

Simultaneously run the following commands in another tab. Make sure you have create-react-app installed.

cd React-Frontend/
npm i
npm start

Nav Bar (Admin is only visible if you are an admin)


Sign In Page


Sign Up Page


Home Page


On Clicking Read More


Like and Comment


View Profile


Password Reset


About

Twitter Clone Using MERN Stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published