Implement Centralized Caching Service for CoinGecko Mock API#6
Open
Merango wants to merge 5 commits into
Open
Conversation
Alexdyn1927
added a commit
to Alexdyn1927/Koii-Task-Funder-Express
that referenced
this pull request
Jun 6, 2025
LearnHD
added a commit
to LearnHD/Koii-Task-Funder-Express
that referenced
this pull request
Jun 6, 2025
Santix1234
added a commit
to Santix1234/Koii-Task-Funder-Express
that referenced
this pull request
Jun 6, 2025
tlxxxsracer
added a commit
to tlxxxsracer/Koii-Task-Funder-Express
that referenced
this pull request
Jun 6, 2025
AlternateIf
added a commit
to AlternateIf/Koii-Task-Funder-Express
that referenced
this pull request
Jun 7, 2025
Jockstrap6334
added a commit
to Jockstrap6334/Koii-Task-Funder-Express
that referenced
this pull request
Jun 7, 2025
xLDVx
added a commit
to xLDVx/Koii-Task-Funder-Express
that referenced
this pull request
Jun 7, 2025
SoYan500
added a commit
to SoYan500/Koii-Task-Funder-Express
that referenced
this pull request
Jun 7, 2025
ranjhayhero
added a commit
to ranjhayhero/Koii-Task-Funder-Express
that referenced
this pull request
Jun 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement Centralized Caching Service for CoinGecko Mock API
Description
Task
Create a centralized caching service
Acceptance Criteria
Summary of Work
Overview
This pull request introduces a robust, centralized caching service for the CoinGecko Mock API, providing a flexible and type-safe caching mechanism using
node-cache.Key Changes
CacheServiceclass insrc/cache-service.tsImplementation Details
CacheService Features
Supported Operations
set<T>(key, value, ttl?): Store values in cacheget<T>(key): Retrieve cached valuesdelete(key): Remove specific cache entrieshas(key): Check cache key existenceclear(): Flush entire cachegetStats(): Retrieve cache performance metricsTesting Approach
src/cache-service.test.tsConsiderations
Next Steps
Changes Made
Tests
Signatures
Staking Key
84mPEB3qLaB2KQr1RXxNgYDF5DSv5ZyuDPpb9qeeNyyT: 44ZaEbCFGo2N5z6vJUBWPjSCFzyhNvBgeDmHomeoCATy3fg1XbBxL8Ur6jp6QoABaacgAjSUdR8M8MvyoqcRvWSKVc2hpwihjiyuv8dUCA1Rx29xdTaJnfYRvcNHSA6DUL3M9rkkBp4jb7SSJdG34hrChUtJ2sTDehVTUaL27Hnz4en1thkt7XybetJ8BH9qFb26mBD2Kq6STHZXFLCzHVRk1xSn6f14ZDBWL2yxhazSvJzz72fkvTHbmhU3hCXwEKrrVmbK7Zi1B4jEQBLG7TRX54iWbe8oxYbcqhXE7nFSpMCVXUpgt3kmiU5vTNPkufbNdHHtbU8LbeX3334B4XmQMymYa8EZLwpgCHcsm3GkMDpLSTxxWynyPzGhL9bkgHvPwmEtdg6bVZQKzFYKUfM57ZoaqA
Public Key
FLcUWedFSfvYeGjtnoXqgNtvtqEBCKwUK7Qn48hGnwsk: D9BUMBcpmsEq4fRb5gRkmECq2drP2RVVaCakpb2GUuqtATGfwodEnqhvKkVzg3xdo4uEMei5xfCiSeSw56yPS5SBhxFCM1Jb1TsULbtoJuWPu2mdGH1VgBMmFN5eJZSjr4da45xR8tfNCdGbwTEyusjNJnQ7uggKQKHJGJkJ4xXAvVxJDAuuYuXwEQzeFi4mNnEP35hPfs7WEufHWbAryYEhv7UwbqU7VsPhkoLKY2HssLKkybbAzindURcQ9ZRez7jn5KaZQr9z1A3MQhen11PKrLHne9MusPUhdn3RVdMQdascT44yXZaNJ6t4WMpj1sB6nwiDgjPLBz7SjvPDa3ifqVbihW7eJBHDK6pPbTTrQAC6A43Go69EzCzVxYrDnTrXnVDzhnwEhFhoRZN4gTRRRBj2rG