Quick Start
Get CryptoTracker running on your development machine in just a few steps. This guide will take you from cloning the repository to seeing live cryptocurrency data on your device or emulator.Make sure you have Node.js (v18 or later) installed on your machine before starting.
Getting Started
Install Dependencies
Install all required packages using your preferred package manager:This will install all dependencies including:
- React Native 0.79.2
- Expo ~53.0
- Expo Router
- TypeScript
- And all other required packages
Start the Development Server
Launch the Expo development server:This will start Metro Bundler and open the Expo DevTools in your browser.
Run on Your Device or Emulator
Choose how you want to run the app:Option 1: Physical Device (Recommended)Option 3: Android EmulatorOption 4: Web Browser
- Install the Expo Go app from the App Store (iOS) or Google Play (Android)
- Scan the QR code shown in your terminal with Expo Go
Understanding the App Structure
Once the app is running, you’ll see the home screen with a list of cryptocurrencies. Here’s what you can do:Home Screen Features
The home screen (src/screens/HomeScreen.tsx) displays a scrollable list of cryptocurrencies:
Search and Filter
Use the search bar to filter cryptocurrencies by:- Name - Search for “Bitcoin”, “Ethereum”, etc.
- Symbol - Search for “BTC”, “ETH”, etc.
- Price Range - Set minimum and maximum price filters
Cryptocurrency Cards
Each cryptocurrency is displayed in a card showing:- Name and symbol
- Current price in USD
- 24-hour price change percentage
- Market ranking
Data Fetching
CryptoTracker uses a custom hook to fetch data from the CoinLore API:Next Steps
Installation Guide
Learn about platform-specific setup for iOS and Android
Features
Explore all features in detail
Architecture
Understand the app’s architecture and design patterns
API Reference
Deep dive into the CoinLore API integration
Troubleshooting
App won't start or shows errors
App won't start or shows errors
Try clearing the cache and reinstalling dependencies:
QR code won't scan
QR code won't scan
Make sure:
- Your phone and computer are on the same network
- Firewall isn’t blocking the connection
- You’re using the latest version of Expo Go
API data not loading
API data not loading
- Check your internet connection
- Verify the API is accessible: https://api.coinlore.net/api/tickers/
- Check the browser console for CORS errors (web only)