Alpha Preview website : https://peekfi.netlify.app
PeekFi is a cutting-edge cryptocurrency tracking application designed to provide users with real-time data on market trends, price changes, and trading volumes of various cryptocurrencies. With its sleek interface and powerful search functionality, PeekFi makes it easier than ever to monitor the volatile world of crypto markets.
- 🔥 Trending Coins: Automatically displays the top trending cryptocurrencies based on the latest data.
- 🔍 Search Functionality: Quickly find any cryptocurrency by name or symbol, with real-time data fetched via the CoinGecko API.
- 📊 Comprehensive Data: View detailed statistics on each cryptocurrency, including current price, 24h price change, and trading volume.
- 🌗 Dark Mode Support: Toggle between light and dark themes to suit your preference and environment.
- 🚀 Fast and Responsive: Built with React and optimized for performance, ensuring a smooth and responsive user experience.
- Getting Started
- Project Architecture
- Installation
- Running the Application
- Deployment
- Running Tests
- Building for Production
- Contributing
- License
- Contact
PeekFi requires Node.js and npm (or yarn) to be installed on your system. Follow the instructions below to set up the project on your local machine.
- Node.js (version 14.x or higher)
- npm (version 6.x or higher) or yarn (version 1.x or higher)
PeekFi is structured to follow best practices in React development. Below is a brief overview of the architecture:
public/
: Contains the static assets, such as the HTML file and images.src/
: The main directory for the application's source code.assets/
: Stores images, fonts, and other static assets.components/
: Reusable React components, such as buttons, forms, and the cryptocurrency cards.hooks/
: Custom React hooks for fetching and managing data, including theuseCryptoSearch
hook.pages/
: Contains the different page components, each representing a route in the application.stores/
: Manages global state using Zustand or another state management library.utils/
: Utility functions and helpers, such as API key management and data formatting functions.
tests/
: Contains test files to ensure code quality and functionality.package.json
: Manages dependencies, scripts, and project metadata.
-
Clone the repository:
git clone https://github.com/username/peekfi.git cd peekfi
-
Install dependencies:
Using npm:
npm install
Or using yarn:
yarn install
-
Set up environment variables:
Create a
.env
file in the root directory and add your API keys and other configuration variables:REACT_APP_API_KEY=your_api_key_here
To start the application in development mode:
Using npm:
npm start
Or using yarn:
yarn start
This command runs the app in development mode, opening it in your default web browser at http://localhost:3000
.
PeekFi is pre-configured for deployment on Netlify. Any changes pushed to the main
branch will trigger an automatic deployment.
To manually deploy to Netlify:
-
Build the project:
npm run build
Or with yarn:
yarn build
-
Deploy to Netlify:
Drag and drop the contents of the
build/
directory into the Netlify dashboard or use the Netlify CLI for continuous deployment.
To run the test suite and ensure all components work as expected:
npm test
Or with yarn:
yarn test
To create an optimized build for production:
npm run build
Or with yarn:
yarn build
The production build will be available in the build/
directory, ready for deployment.
Contributions are welcome! Please feel free to submit a pull request or open an issue on GitHub. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License. See the LICENSE file for more information.
For any inquiries or support, please reach out:
- Email: [email protected]
- x: @AbdIlyes