Hello everyone
,
I’m new to the Frappe community and exploring how to integrate FastAPI endpoints with Frappe/ERPNext.
Specifically, I’d like to:
- Expose a custom API (e.g.,
/student/timetable) using FastAPI. - Fetch data from existing Frappe DocTypes (like Student, Course).
- Apply caching with Redis for faster responses.
I’ve read about creating custom apps and extending APIs in ERPNext, but I’m still unclear about:
- Is it recommended to extend the built-in Frappe REST APIs, or run a parallel FastAPI app?
- If running FastAPI alongside, what’s the cleanest way to share database sessions with MariaDB used by Frappe?
- Any examples or community apps that already follow this hybrid model?
Any guidance or references would be really helpful. Thanks!