Websites, apps & code / Building apps
Planning an app's data
You are not sure what data an app should store or how to lay it out.
Fill in your details
Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).
Prompt
Please design how my app stores its data, and do not write code yet. What the app does: Loyalty points: member name, phone, each purchase amount, points collected Data size: About 100 members, 4 visits a month each Where to store: Use sheets as the database and list the columns of each. Please: 1. Ask me 3–5 questions first. 2. List what needs storing (for example members, transactions), each as a small table of fields with examples (fake data). 3. Explain how the tables connect, in plain words, explaining any unavoidable jargon. 4. Mark what is personal data and advise not storing it if it can be avoided. 5. Explain how to back up and how to delete one person's data. 6. Do not have me store IC numbers or bank details.
Paste it into ChatGPT, Gemini, Claude or Meta AI.
Test result
What we noticed
After the questions I sketched two fake-data tables. Backup and deletion steps are left until the user answers.
See what the AI actually wrote
Sure, step 1 is a few questions, no code.
- Is it one point per drink, or by spend, such as one point per RM10? Different rules mean different data.
- Should each purchase amount be recorded, or only how many points were added? I suggest not storing what you can avoid: record points added and the date, not how much was spent.
- Is the phone number only for finding a member? Could we store just the last 4 digits plus a nickname? That is safer.
- Do points expire? Can they be redeemed (a redemption is recorded as a deduction)?
- Who will edit the sheet, and who gets access?
A first sketch (fake data):
Sheet "Members": member ID | nickname | phone last 4 | joined
M001 | Ah Ming | 6789 | 2026-01-05
Sheet "Point log": date | member ID | change | reason
2026-02-03 | M001 | +1 | purchase
2026-02-10 | M001 | -10 | redeemed drink
The two sheets are linked by the member ID, like finding someone by a number tag, so you do not rewrite name and phone every time. The current balance is not stored separately: it is the sum of that member's changes, so it cannot drift out of date.
Personal data: nickname and phone (last 4 digits). Store as little as you can. I will write the full backup and delete-one-person steps after your answers. You do not need to put in IC numbers or bank details. I will wait for your OK at each step.
AI tools that suit this
- Claude Suggested tool Free plan
Strong at long documents, editing and code
- ChatGPT Suggested tool Free plan
The most widely used AI chat, for writing, questions and images
- Notion AI Suggested tool Free plan
AI inside your notes and work docs
Recommendations only, not sponsored. Check each site for what the free plan includes.
This site is made by FullMark Tech
Want your own website, or your shop spreadsheets automated? FullMark Tech builds business websites and custom Excel tools.