This is a cryptocurrency application which serves the purpose of displaying important information regarding crypto coins. This application is catered to those who observe market data and invest in cryptocurrency. The features included in this app are as follows:
- Market data โ real-time current prices
- 7-day prices chart for a given coin
- Personalized information โ the users will have the ability to select favorites
- Latest News on cryptocurrency and the ability to filter the news based on a chosen coin
- Latest Tweets for a selected coin
- Top trending coins
- Dark mode and light mode feature
Unzip the folder code provided and open the terminal
- Go to the project directory
cd crypto-app
- Install dependencies
npm install
- Start the server
expo start
You can scan the QR code printed in the terminal or use one of the simulators installed in your computer to run in iOS or Android.
To run tests, run the following command
npm test
Returns a list of coins with market prices and market chart data
GET /api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=100&page=1&sparkline=true&price_change_percentage=7d
Parameter | Type | Value |
---|---|---|
vs_currency |
string |
Currency type: usd |
order |
string |
market_cap_desc |
per_page |
string |
100 |
page |
string |
1 |
sparkline |
string |
true |
price_change_percentage |
string |
7d |
Returns data for a single coin
GET /api/v3/coins/${currid}?localization=false&tickers=false&market_data=true&community_data=false&developer_data=false&sparkline=false
Parameter | Type | Description |
---|---|---|
currid |
string |
Required. Id of item to fetch |
returns a list of all 24-hour trendinc coins
GET /api/v3/search/trending
Returns news data for all coins
GET /api/v1/posts/?auth_token=${token}
Parameter | Type | Description |
---|---|---|
auth_token |
string |
Required. API key |
Returns news data for given coin
GET /api/v1/posts/?auth_token=${token}¤cies=${curr}
Parameter | Type | Description |
---|---|---|
auth_token |
string |
Required. API key |
currencies |
string |
Required. coin symbol |
Returns all tweets for a given coin
GET /v1/coins/${result}/twitter
Parameter | Type | Description |
---|---|---|
result |
string |
Required. coin id - coin name |