Skip to content

TechMagister/couchdb.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

couchdb Build Status on CircleCI

CouchDB client written in crystal

Installation

Add this to your application's shard.yml:

dependencies:
  couchdb:
    github: TechMagister/couchdb.cr

Usage

require "couchdb"

client = CouchDB::Client.new "http://127.0.0.1:5984"

info = client.server_info
info.couchdb # Welcome
info.version # 2.1.1
info.vendor.name # The Apache Software Foundation

Development

  • Get server info
  • Create Database
  • Delete Database
  • List Databases
  • Get new uuid
  • Create Documents
  • Find all the documents
  • Find Documents with criteria
  • Delete Documents
  • Update Documents

Contributing

  1. Fork it ( https://github.com/TechMagister/couchdb/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • TechMagister Arnaud Fernandés - creator, maintainer
  • Schniz Gal Schlezinger - contributor

About

CouchDB client library written in crystal

Resources

License

Stars

Watchers

Forks

Packages

No packages published