Skip to content
/ PeekFi Public

PeekFi is a financial application used to have a glance of the market

License

Notifications You must be signed in to change notification settings

Ilyomix/PeekFi

Repository files navigation

PeekFi

Netlify Status License: MIT React Version Coverage Status

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.

Features

  • 🔥 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.

image image

Table of Contents

  1. Getting Started
  2. Project Architecture
  3. Installation
  4. Running the Application
  5. Deployment
  6. Running Tests
  7. Building for Production
  8. Contributing
  9. License
  10. Contact

Getting Started

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.

Prerequisites

  • Node.js (version 14.x or higher)
  • npm (version 6.x or higher) or yarn (version 1.x or higher)

Project Architecture

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 the useCryptoSearch 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.

Installation

  1. Clone the repository:

    git clone https://github.com/username/peekfi.git
    cd peekfi
  2. Install dependencies:

    Using npm:

    npm install

    Or using yarn:

    yarn install
  3. 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

Running the Application

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.

Deployment

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:

  1. Build the project:

    npm run build

    Or with yarn:

    yarn build
  2. Deploy to Netlify:

    Drag and drop the contents of the build/ directory into the Netlify dashboard or use the Netlify CLI for continuous deployment.

    Netlify Status

Running Tests

To run the test suite and ensure all components work as expected:

npm test

Or with yarn:

yarn test

Building for Production

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.

Contributing

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.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contact

For any inquiries or support, please reach out:

About

PeekFi is a financial application used to have a glance of the market

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages