Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've been working on a side project related to the air quality too, for a few months now. However, the technology stack is less impressive than Haskell: plain PHP7 + MySQL. I just wanted to have a single page presenting the air quality stats [1], fetched from the DIY detector Luftdaten [2], that can be hosted anywhere (so other people can grab the code from github [3] and use it too).

Then, people started to requesting new features and I had ideas for new features and it was no longer a single-page project.

Then, people started to reporting issues with their PHP hosting accounts, so I was spending time debugging problems in their deployments.

Then, I thought it may be easier to introduce multi-tenancy so I can just support a single environment, the one that I own. So I added registration, dashboard, maps, Let's Encrypt, etc.

This way I ended up owning a small, open-source SaaS written in PHP7 and MySQL [4]. If I knew how my single-page app will grow, I'd choose something more suitable, like Rails or Dropwizard. On the other hand, it works, is usable and maintainable, so maybe it's fine the way it is.

[1] https://smolna.aqi.eco/ [2] https://luftdaten.info/ [3] https://github.com/trekawek/air-quality-info/ [4] https://aqi.eco/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: