Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 503 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 503 Bytes

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
}