Skip to content

sanuthmenuka/cryptoflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRYPTOFLOW

Crypto dashboard visual

Overview

Cryptoflow is a Spring Boot backend service that fetches live cryptocurrency market data from CoinGecko, caches the latest prices in Redis, and pushes real-time update notifications through Server-Sent Events (SSE).

Functionality

  • Fetches market data for a configured list of coins from CoinGecko.
  • Runs scheduled refresh jobs every 60 seconds.
  • Stores the latest market snapshot in Redis.
  • Publishes Redis update events when new data is saved.
  • Notifies connected clients via SSE when prices are refreshed.
  • Exposes HTTP endpoint for live market data retrieval.

Basic Installation

  1. Install Java 21, Maven, and Redis.
  2. Clone the repository:
git clone <your-repo-url>
cd cryptoflow
  1. Start Redis on localhost:6379.
  2. Configure values in src/main/resources/application.properties if needed.
  3. Run the application:
./mvnw spring-boot:run
  1. Open API docs at http://localhost:8080/docs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages