I built a Twitter clone using React for the frontend, making it look great with Styled Components. We used React features like Router, State, Effects, Fetch, Context, Navigation, and useParams to make it work smoothly. It feels just like using Twitter, but it's all done with React magic!
You'll need two active terminals to be able to run this application properly.
- Open the terminal.
- Go to the client folder by typing
cd client
. - Install the dependencies with
yarn install
. - Start the frontend with
yarn start
.
- Open the terminal. (You can use a split terminal).
- Go to the server folder by typing
cd server
. - Install the dependencies with
yarn install
. - Start the backend(server) with
yarn start
.
View the home feed
When navigating to the root URL /
, the user should see a list of tweets from the accounts that the current user follows.
Post a tweet
View a profile page