It's a All in One Crypto App which shows Exchanges, Cryptocurrencies, Crypto News, and Crypto Statistics and more.
This Application is build on React and Redux Toolkit. Fetching Data from RapidAPI. Ant Design is also used for UI components.
- CoinRanking
- Bing News
-
Create a folder named
services
main folder for fetching data. -
Inside there create a new file named
cryptoApi
. -
Before anything else, We're gonna have to create a
Store
which is the centralized storage to store every state and data in it. So, we can get it in our entire Application whenever we want, easily. -
Now Create folder named
app
in src and inside there a file namedstore.js
. This will gonna be the Redux Store. -
And see the
store.js
for code information. -
Now Import Store from
store.js
and Provider from RTK inside our mainindex.js
-
And Wrap the whole app inside provider like mine.
-
Now we can write data fetching functionality inside
cryptoApi.js
. -
After writing the code import that functionality in
store.js
-
Now our Application is fully connected and we just have to fetch whatever data we want.