← All projects DATA INTEGRATION / PROJECT NOTES
Ranna Integration
Scheduled syncs move store data into PostgreSQL. Dashboards read a local copy that is ready to use.
OPERATION FLOWFIG. 03
01Olsera API
02Scheduled sync
03PostgreSQL
04Dashboard & alerts
The problem
Operational dashboards need stored data instead of waiting on direct calls to the store system.
The approach
Scheduled jobs fetch purchase orders, products, and stock from Olsera, store them locally, and notify when stock crosses a threshold.
CORE FLOWOlsera API → Scheduled job → PostgreSQL → Dashboard & Telegram
The outcome
Dashboard reads are independent from sync jobs, and stock status can trigger notifications.
TOOLS & TECHNOLOGY
Technology stack.
Each component has a role in this workflow.
01Next.js02PostgreSQL03Prisma04Olsera API05Helm06Telegram
SOURCE CODE
Want to see the implementation?
The repository contains the configuration and components. This page explains the main workflow.
Open repository ↗