Hosting
My fiancé has just been recently diagnosed with multiple myeloma, which is a very complex Cancer. I coded an app that can be saved to the home screen of an iPhone or android phone. The app keeps track of medications and appointments, but does not suggest treatments or anything like that . It’s more of an organizational tool . What I am trying to do is find a place where I can host it and give it away for free. Right now I’m using Cloudflare, but there’s no free plan. Anybody have any ideas where I might be able to host it for free? The hosting would just have to be for HL JavaScript and just a backend database like my SQL.
12
Upvotes
3
u/brightness3 1d ago
don't take my word 100% on this since I haven't used either of them in ages, but I think both supabase and firebase have free tiers. if you're comfortable switching from mysql to Postgres or noSQL, I think they're decent options.
34
u/chrissilich 1d ago
Storing other people’s medical data sounds like an area I would not want to casually try out.
12
u/Chance_Command_1426 1d ago
Cloudflare Workers free plan is 100k requests a day and static assets don't count at all. It's free, you just didn't scroll to the pricing page.
7
u/Exotic_Wave_24 1d ago
Sorry to hear about your fiancé. Cloudflare Pages is actually free(it does provide very basic features), Netlify, Vercel, and GitHub Pages are also free for the front end. For a database, Supabase and Firebase both have free tiers.
Also, if the app stores data on the phone itself instead of a server, you may not need a backend at all.
1
u/snap-dev 1d ago
sorry about your fiancé, that's a lot to carry. cloudflare does actually have a free tier for this, pages hosts static html/js for free and D1 gives you a small sqlite database on the free workers plan, you might have landed on the paid plan page. if you'd rather stay closer to mysql, netlify or github pages for the frontend plus supabase's free tier (postgres, not mysql, but close enough) works too. one heads up, supabase pauses free projects after a week with no activity.
honestly for meds and appointments you could skip the backend and keep everything on the phone in indexeddb. the engineers i work with do that for small personal tools, and it keeps health data off a server. is it just for the two of you or do you want other families using it?
2
u/kemalios 1d ago
Since you're moving the data onto the phone, the hosting question mostly disappears: it's static files at that point, and Cloudflare Pages or GitHub Pages serve those for free with no backend at all. The part I'd check before shipping is where the storage actually lives. localStorage and plain IndexedDB get wiped when someone clears site data, and iOS Safari can evict storage for sites that haven't been opened in a while. For a medication schedule that's not a small thing.
Build an export and import in early, even if it's just a JSON file they can save somewhere. It turns a data loss into an inconvenience. If you ever do add sync, D1 on the Workers free plan is the least moving parts.
2
u/twhiting9275 php 18h ago
No no no , ABSOLUTELY NOT !!! There are SOOOO many legal and ethical violations here it’s not funny
1
u/PippaKelly62 1d ago
Cloudflare pages does have a free plan for static sites, and its d1 database and workers also have free tiers, while supabase and firebase are other free options for a backend, though free projects can pause when inactive.
You might want to consult a lawyer just to cover your bases regarding data privacy issues if you do intend to give this out publicly. Data regarding health conditions can be particularly sensitive.
1
u/Necessary-Drummer800 1d ago
I built a custom calorie tracker using localhost instead of backend and put it on GitHub.io. It would be complicated but that's an option for you.
1
u/leoniebuilds 1d ago
local-first sounds like a sensible fit if it's just for one phone. i'd test what happens on reinstall or switching phones before relying on it; browser storage doesn't automatically give you a backup. if another caregiver ever needs access, that's when syncing and permissions become a much bigger decision.
1
u/DadDevDrinksDecaf 17h ago
If you are thinking of a free saas hosting where you own it but others use it, you will fall foul of data regulations, especially if people are putting medical information in there. GDPR, COPPA if its children (and how do you know its not).
Dont be disheartened though, it sounds like you are doing all this for the right reasons.
Best first option is to bundle everything into a free app people can download and use on local devices.
I hope everything goes well with the treatments.
1
u/frostbyte_273 10h ago
Following up on the others: the simplest way around the medical-data problem is to have no backend. Keep the meds and appointments in IndexedDB on each person's phone, so you only host static files (free on Cloudflare Pages, GitHub Pages or Netlify) and no one's health data reaches a server you run. Add an export/import button, since browser storage can be cleared. You only need a database if you want sync across devices.
1
u/zadiboca 8h ago
Try vercel
1
u/Vegetable-Capital-54 8h ago edited 8h ago
Why do you need a remote database for a phone app that just keeps track of medications and appointments? This sounds like an app that should not need internet at all to function.
Just store it locally, in sqlite or whatever else is available on iphone. No need for hosting, no headache about storing sensitive medical data, it's faster, simpler and works offline. Seems like a no-brainer.
1
u/selipso 1d ago
Cloudflare Pages is free