简体   繁体   中英

Persist data using Cube.js

I am using Cube.js for backend and React for frontend. Whenever I stop the cube.js server data gets lost(I have to make the charts again from scratch). Is there any way to persist the charts even if we stop the server?

Cube.js is basically just a backend to perform analytical queries. However Cube.js Playground provides frontend application scaffolding generation using various templates. In case of dynamic dashboard template it provides GraphQL Apollo implementation that persists it to local storage for development purpose. You're responsible for providing production GraphQL backend.

You can learn on how to setup it here: https://react-dashboard.cube.dev/authentication-and-graph-ql-api .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM