Self-hosted API for CRUD-ing JSON data on different storage providers (S3, MinIO, local, etc).
840
Self-hosted API for creating/querying json files on different storage providers (local, S3, MinIO, ...). Typical use cases are (1) quick/flexible data storage in personal projects (2) mocking APIs (3) having a 'data scratchpad' for various scripts. You can install emmer through 'go install' or 'docker pull', more information available on GitHub.
The API is based on your json structure. So the example below is for CRUD-ing [geralt][city] 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/users/geralt/city
A get request that gets a json key in the file users.json. Note how the URL path matches the file name and json key.
A put request (using append mode) that adds a city. Note how it turns the value into a list before it appends the value.
Content type
Image
Digest
sha256:18094efbb…
Size
11 MB
Last updated
8 months ago
docker pull tiemster/emmer:v0.7.0