feat(analysis): add monthly variation table with inflation comparison
- New backend endpoint GET /api/quotes/monthly-last - MonthlyVariationTable component with BELO/Blue/Oficial % changes - Inflation data from ArgentinaDatos API with 24h cache - Visual indicators: green if beats inflation, red if below - Responsive: cards on mobile, table on desktop
This commit is contained in:
@@ -4,12 +4,14 @@ import { getCurrentQuotes } from "./handlers/getCurrentQuotes";
|
||||
import { getDailyMinMax } from "./handlers/getDailyMinMax";
|
||||
import { getDailyQuotes } from "./handlers/getDailyQuotes";
|
||||
import { getHistoricalMinMax } from "./handlers/getHistoricalMinMax";
|
||||
import { getMonthlyLast } from "./handlers/getMonthlyLast";
|
||||
import { getQuoteHistory } from "./handlers/getQuoteHistory";
|
||||
import { quoteEvents } from "./handlers/quoteEvents";
|
||||
|
||||
const app = new Hono();
|
||||
|
||||
app.get("/", getCurrentQuotes);
|
||||
app.get("/monthly-last", getMonthlyLast);
|
||||
app.get("/:type/history", getQuoteHistory);
|
||||
app.get("/:type/daily", getDailyQuotes);
|
||||
app.get("/:type/min-max", getDailyMinMax);
|
||||
|
||||
Reference in New Issue
Block a user