I'm building a college project for a nursing home: an app that helps staff track medication stock. The nursing home may only have one local PC available, with no dedicated server, so my group needs a way to save the data between sessions. I'm new to programming and would appreciate advice on whether to use a local database, a spreadsheet-style file, or another storage method. Since the app could involve patient or medication information, we also want to understand any privacy and security concerns we should account for.
5 Answers
Security is especially important here. If the data could identify patients or reveal their medication, don’t treat it like an ordinary project file. Check the organization’s policies and the applicable healthcare privacy rules, and consider access controls, encryption at rest, backups, and an audit trail. For a classroom prototype, use fictional data unless the nursing home has formally approved anything else.
SQLite is probably the best starting point. It’s a small database stored in a single local file, so you don’t need to set up a separate server. It supports structured tables, searching, updates, and relationships much better than manually managing text files. If the application later needs access from multiple computers, you can move to a server-based database without redesigning everything from scratch.
A CSV file could work for a very simple college demo, especially if you only need to save basic stock records. Just keep in mind that CSV doesn’t enforce data types or relationships, and it can become error-prone as the project grows. Also, any real patient-related information needs appropriate privacy protections rather than being left in a readable spreadsheet.
If the app is only a prototype and persistence isn’t actually required, you may only need a simple in-memory data structure during the demonstration. But if records must survive after the program closes, SQLite is a more reliable choice than inventing your own archive format. A hosted option such as a managed backend could support multiple devices, but it would introduce additional security, account, and network requirements.
Before choosing storage, clarify the requirements and design the data model. Think about medications, quantities, expiry dates, deliveries, usage, and possibly residents or prescriptions. A normalized SQLite schema would make those relationships easier to manage. Also confirm with the nursing home whether the system truly will be limited to one PC, because supporting multiple computers later can change the architecture.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically