Skip to content

EasyDB-io/Elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elixir

EasyDB Elixir Client This client has not yet been implemented. If you'd like to write it, I'll pay you!

Just implement the following 4 functions with their respective cURLs:

Get:

curl --request GET \ 
--url https://app.easydb.io/database/{database_uuid}/{key} \
-H "token:{database_token}"

Put:

curl --request POST \  
  --url https://app.easydb.io/database/{database_uuid} \
  -H 'content-type: application/json' \
  -H 'token: {database_token}' \
  -d '{ 
      "key": "somekey",
      "value": "{asdf}"
  }'

Delete:

curl --request DELETE \
   --url https://app.easydb.io/database/{database_uuid} \
   -H 'content-type: application/json' \
   -H 'token: {database_token}' \
   -d '{
       "key": "somekey"
   }

List:

curl --request GET \ 
--url https://app.easydb.io/database/{database_uuid} \
-H "token:{database_token}"

If you create a PR implementing this language, I'm happy to send you $5 via Stellar.

TODO

  1. Test this library when https://easydb.io will be up (DONE)
  2. Write tests
  3. Create process-less adapter
  4. Documentation (Partly done)
  5. Erlang term encoding

About

EasyDB Elixir Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages