Show HN: API for CRUD-ing JSON data (github.com)

4 points by tiemster ↗ HN
For purely selfish needs, I created a self-hosted API for CRUD-ing JSON data in GO. Optimized for simplicity and interoperability. Perfect for small personal projects.

The API is based on your JSON structure. So the example below is for CRUD-ing [key1][key2] in file.json. The value (which can be anything) is then added to the body of the request. Moreover, there are helper functions for appending and incrementing values.

  DELETE/PUT/GET: /api/file/key1/key2/...

4 comments

[ 104 ms ] story [ 697 ms ] thread
I like this idea, you can use it to build something quickly
Nice. I like it also because SQL strings don't mix nicely with code, whereas an API like this does. Good job.
Maybe a small comment then, even though it's meant for quick-and-easy storage, you could look into making this more scalable if it gets traction.