[go: up one dir, main page]

Skip to content

Free REST API Data Storage with audit logging, all updated key/node is generated historical in Audit Table

License

Notifications You must be signed in to change notification settings

structy/structbase

Repository files navigation

structBase

Free REST API Data Storage with audit logging, all updated key/node is generated historical in Audit Table (automatically).

Proposal to be firebase Open Source, using Postgres as data structure.

Data architecture

  • key/node: Unique key (unique together) to manage future access on data
  • object: JSON data types are for storing JSON (JavaScript Object Notation) data (read more...), with the possibility of creating index in fields within JSON

Auth

curl -X POST -i -H "Content-Type: application/json" -d '{"key": "<YOUR-KEY>", "secret": "<YOUR-SECRET>"}' http://.../auth

Objects

GET

curl -X GET -i -H "Content-Type: application/json" -H "Authorization:Bearer <YOU-TOKEN>" http://.../<DATABASE-NAME>/public/objects

POST

curl -X POST -i -H "Content-Type: application/json" -H "Authorization:Bearer <YOU-TOKEN>" http://.../<DATABASE-NAME>/public/objects \
	-d '{"key": "<DATA-KEY>", "node": "<DATA-NODE>", "object": "{\"field1\": \"value1\", \"field2\": \"value2\"}"}'

PUT/PATH

curl -X POST -i -H "Content-Type: application/json" -H "Authorization:Bearer <YOU-TOKEN>" http://.../<DATABASE-NAME>/public/objects?key=<DATA-KEY>&node=<DATA-NODE> \
	-d '{"object": "{\"field1\": \"value1\", \"field2\": \"value2\"}"}'

About

Free REST API Data Storage with audit logging, all updated key/node is generated historical in Audit Table

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published