Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Clone

As the name suggests it is the clone of twitter though it does not have all the features of the twitter but it does have some basic features listed below

  • User can add a tweet .
  • User can follow or unfollow users .
  • Can also like aur dislike a tweet though a tweet can only be disliked if it is already liked by that user.

Twitter Clone Demo

Demo

Demo of the project is present at https://drive.google.com/open?id=1-YdfbV5H4i_l5SH1jthHSr2oV7Iju6ME


Backend

Its backend is made on NodeJS . MongoDB is used for database . To run the backend server you need to have node and mongodb installed on your system and open Backend folder and perform the following steps.

# Install dependencies
npm install

# Start mongodb server
## First create data folder in Backend  
mongod --dbpath=./data

# Start server on localhost:5000
npm start

Frontend

Frontend is made on ReactJS and Bootstrap is used for css. To start app open Frontend folder and perform the following steps.

# Install dependencies
npm install

# Serve on localhost:3000
npm start

Project Structure

.
├── Backend                     # backend
│   ├── controllers              
|   ├── db                      # database files
|   ├── routes  
|   |   ├── api                 # rest api              
|   |   |   ├── home                
|   |   |   |   └── ...    
│   |   |   ├── index.js       
│   |   |   ├── login.js       
│   |   |   └── signup.js       
|   |   └── auth.js             # verify jwt middleware
|   ├── utils                   
|   |   └── jwt.js              # create and verify jwt
│   └── server.js               # entry point
├── Frontend                          
|   ├── app                                    
|   |   ├── actions  
|   |   ├── components                
|   |   ├── containers          # contains business logic
|   |   ├── controllers         
|   |   ├── store               # redux store
|   |   ├── styles
|   |   ├── index.html
|   |   ├── index.jsx           # entry point
|   |   ├── public              
|   |   └── ...
└── ...

App Info

Author

Shubham Singal


Version

1.0.0

About

Twitter Clone is hosted at

Topics

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages