Cloud CRUD read/write
Store your data in the cloud and create, update, delete, and read anytime.
The problem today
Data lives in local files — gone on another computer, impossible to share.
What you get
- Data in the cloud, available on any device
- Full create/read/update/delete
- Save = sync, no manual export
Copy the whole block below and paste it into Codex. Replace placeholders like API keys with real values from the IFQ Cloud console.
You are a senior full-stack engineer. In my currently open local project, migrate the project's data layer to a "cloud database" with full CRUD.
[Features to build]
- Identify existing data (lists, form records) and design matching cloud tables.
- Implement create, read, update, delete and wire them to the existing UI.
- Write to the cloud on save, read from the cloud on load, refresh the UI immediately after each action.
- Keep a local cache for offline reads; auto-sync when the network returns.
[Connect to IFQ Cloud]
- API base https://api.cloud.ifq.ai, official SDK `jieshi-cloud` (if unavailable, use plain HTTPS equivalently and note the endpoint in a comment).
- Secrets via environment variables, never hard-coded: JIESHI_CLOUD_API_KEY, JIESHI_CLOUD_PROJECT_ID; generate `.env.example` with both, noting "get real values from the IFQ Cloud console and replace".
- All placeholders; without real values, run on placeholders and print a hint on where to replace them.
[Engineering requirements]
- Read the existing structure and stack first; follow current conventions, add only necessary files, leave unrelated code untouched.
- Network calls: timeout + graceful fallback; friendly errors, never crash.
- Demo / mock mode: the main flow runs on sample data without keys.
- Include a minimal runnable self-test with run instructions.
- On completion list: files changed / how to start / how to roll back.
Ask before any decision point.
*— [ifq.ai](https://work.ifq.ai/) · AI-augmented. Full-stack crafted*