ninetyonedb

command module
v0.0.0-...-a57c32f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2020 License: MIT Imports: 14 Imported by: 0

README

NinetyOneDB

JSON Storage server inspired by couchdb rest api access written in Golang.

Installation

Use the go get

git clone https://github.com/jeyaprabhuj/ninetyonedb.git

cd ninetyonedb

go build

eg: KVPORT=6060 ./ninetyonedb

Usage

Start server by environment vairiable KVPORT=

./ninetyonedb

http://:/http://localhost:8001/storages/

Initiate a HTTP Put with Request body JSON {"name":"<database/storage-name>"}

list all storages - http://:/http://localhost:8001/storages/

Individual access - http://:/http://localhost:8001/storages/

e.g. Consider database name is "Shop"

Individual access - http://:/http://localhost:8001/storages/Shop

Client can be Postman ,any browser or client written in any language

Roadmap

Current status is reference implementation. Equivalent implementation in Elixir will be also added as another repo.

First release: Storage file compaction

Second Release: Support for selectors like couchdb

Third Release: Simple replication and backup support

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL