Skip to content
This repository was archived by the owner on Jun 3, 2018. It is now read-only.

kenpusney/rackdis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

rackdis

In memory JSON Database with REST API

Usage

Currently it support GET(retrive) / POST(create/update) / DELETE(delete) http method. You can try it like

curl -X POST -d @<JSON-FINE> http://<HOSTNAME>/<ENTRY-NAME>    #create
curl -X DELETE http://<HOSTNAME>/<ENTRY-NAME>                  #delete
curl http://<HOSTNAME>/<ENTRY-NAME>                            #retrive

To start the server, you should run

(serve <port-number>)

or you can get the result of serve procedure, and use it to stop the server:

;start
(define stop (serve <port-number>))
;stop
(stop)

TODO

  • transactions
  • MVCC?
  • More REST method support
  • Run as daemon

About

Racket based in-memory JSON Database with REST API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages