An open API service indexing awesome lists of open source software.

https://github.com/tinkkid/goit-test-tweets

Follow to friend's tweets
https://github.com/tinkkid/goit-test-tweets

material-ui mockapi-io react react-hooks react-router

Last synced: 3 months ago
JSON representation

Follow to friend's tweets

Awesome Lists containing this project

README

          

# Follow to friend's tweets

This project was created based on the Create-React-template.

The page shows cards with different users and number of theih tweets and
followers.

By clicking on the "FOLLOW" button, you subscribes to the user and the counter
of the followers number increases by 1. Button changes its color and text label
to "FOLLOWING". If to click on the "FOLLOWING" - text label return to previous
color with text "FOLLOW" and number of subscribers will be decreased by 1.

Data about all users is stored in Local Storage and available during next
sessions in the browser.

Also you can filter users by "SHOW ALL/FOLLOWING/FOLLOW"

The design of the project in
[Figma](https://www.figma.com/file/zun1oP6NmS2Lmgbcj6e1IG/Test?type=design&node-id=0-1&t=4cxaUO0vzAF63uiw-0).

In this project were used:

- [Material UI](https://mui.com/material-ui/getting-started/installation/) for
styling and desing some components and icons.
- [React Router](https://reactrouter.com/en/main) for navigation between pages.
- [Emotion](https://emotion.sh/docs/introduction) for styled components.
- [Axios](https://axios-http.com/docs/intro) for http requests to
[MockApi](https://mockapi.io/) with data.

### for run project use:

npm install

Link to page: [goit-test-tweets](https://tinkkid.github.io/goit-test-tweets/)