Crypto View app is a convenient way to stay up-to-date on the latest trends in the world of crypto. App has different features. The features can provide real-time data about various metrics such as prices, market capitalization, and trading volumes of cryptocurrencies, thereby, empowering cryptocurrency investors.
This commit introduces changes to set up a new endpoint in the server for fetching data from the CoinLore API and displaying it in a table on the frontend.
Changes made:
Created a controller file (controllers/currenciesController.js) to handle API requests and business logic.
Added a new route file (routes/currenciesRoute.js) to define the endpoint for fetching and displaying CoinLore data.
Implemented a GET endpoint ('/api/currencies') to fetch a paginated list of currencies from the CoinLore API.
Utilized Axios for making API requests.
Modified the server configuration in server.js to include the new route.
This enhancement aims to provide the frontend with the ability to retrieve and display cryptocurrency data using the CoinLore API.
This commit introduces changes to set up a new endpoint in the server for fetching data from the CoinLore API and displaying it in a table on the frontend.
Changes made:
This enhancement aims to provide the frontend with the ability to retrieve and display cryptocurrency data using the CoinLore API.