r/webdev • • 13d ago

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.

14 Upvotes

32 comments sorted by

View all comments

Show parent comment

1

u/vnichol 13d ago

Thanks I will try to get a local back end to work that is a good idea. Just trying to make it as simple as possible for people if they want to use it. I have a GitHub setup with the files now and I will try to move it over to local db. Thanks

1

u/Eugene_Kosten 13d ago

Since you are moving to local storage on the phone, keep one iOS quirk in mind. A web app opened in Safari and the same app saved to the Home Screen do not share localStorage or IndexedDB. You should also call 'navigator.storage.persist'. This prevents iOS from clearing offline data if the phone runs low on space.

1

u/davidnicolas-1 9d ago

For a public app, audit any analytics or crash reporting before adding it: medication names and appointment details should stay out of event payloads. Local storage only keeps them local if nothing else sends them out.