/twitter-clone-react

Twitter clone using ReactJs and hosted in firebase with Google-Auth and firebase storage which is fir free

Primary LanguageJavaScript

Tweet-like app

How to run

Do the following:

git clone
npm install
npm start

Store architecture

The architecture of the redux store is as follows:

{
  tweets: {
    tweetId: { tweetId, authorId, timestamp, text, likes, replies, replyingTo},
    tweetId: { tweetId, authorId, timestamp, text, likes, replies, replyingTo}
  },
  users: {
    userId: {userId, userName, avatar, tweets array},
    userId: {userId, userName, avatar, tweets array}
  },
  authedUser: userId
}