Sign inSign up

tiemster/emmer

By tiemster

•Updated 8 months ago

Self-hosted API for CRUD-ing JSON data on different storage providers (S3, MinIO, local, etc).

Image
Developer tools
Databases & storage
1

840

tiemster/emmer repository overview

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⁠.

⁠Examples

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.

get request diagram

A put request (using append mode) that adds a city. Note how it turns the value into a list before it appends the value.

put request diagram

Tag summary

Content type

Image

Digest

sha256:18094efbb…

Size

11 MB

Last updated

8 months ago

docker pull tiemster/emmer:v0.7.0