This is a Vite + React version of the Frappe Sprint Board page, using the same backend methods from fusion_infotech.fusion_infotech.api.sprint_board.
- Ensure your Frappe site is running (bench), typically on port
8000. - From this folder:
npm install
npm run devThe dev server runs on http://localhost:8010 (strict).
By default the Vite proxy targets http://localhost:8000.
To change it:
cp .env.example .envThen edit:
VITE_FRAPPE_PROXY_TARGET(example:http://vms.localhost:8000)VITE_FRAPPE_SITE_HOST(example:vms.localhost)
If you see a login error page that says "localhost does not exist", you must set VITE_FRAPPE_SITE_HOST (or point VITE_FRAPPE_PROXY_TARGET to your site host like vms.localhost).
fusion_infotech.fusion_infotech.api.sprint_board.is_system_managerfusion_infotech.fusion_infotech.api.sprint_board.get_open_sprint_planfusion_infotech.fusion_infotech.api.sprint_board.get_sprint_board_datafusion_infotech.fusion_infotech.api.sprint_board.can_update_task_statusfusion_infotech.fusion_infotech.api.sprint_board.update_task_status_with_datesfrappe.client.get_valuefrappe.auth.get_logged_userfrappe.sessions.get_csrf_tokenlogin/logout
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.