News for hackers. Stuff that matters.
Re:Ask HN: Personal photo library recommendations? Open sour... by barrystaes on Monday April 29, 2019 @10:16AM (#19778509)
I like this architecture and wil spin up a Photonix docker on my Unraid server in a few weeks or so. I wonder why you used graphql for the api?
Re:Ask HN: Personal photo library recommendations? Open sour... by damianmoore on Monday April 29, 2019 @10:33AM (#19778675)
Thank you. I'd like to hear how that goes.

The thinking behind GraphQL was to allow for advanced filtering, supporting all the attributes we store without a lot of extra API work. The GraphiQL web interface makes it quite nice to explore the data and is bundled in and accessible at /graphql . GraphQL also has "subscriptions" which allows for pushing data from the server. The Apollo JS library I used also provides built-in extras like caching.