Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TechMagister/couchdb.cr
CouchDB client library written in crystal
https://github.com/TechMagister/couchdb.cr
Last synced: 9 days ago
JSON representation
CouchDB client library written in crystal
- Host: GitHub
- URL: https://github.com/TechMagister/couchdb.cr
- Owner: TechMagister
- License: mit
- Created: 2016-12-30T14:08:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T12:54:28.000Z (over 3 years ago)
- Last Synced: 2024-08-01T17:33:56.607Z (3 months ago)
- Language: Crystal
- Size: 22.5 KB
- Stars: 13
- Watchers: 1
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crystal - couchdb.cr - CouchDB client (Database Drivers/Clients)
- awesome-crystal - couchdb.cr - CouchDB client (Database Drivers/Clients)
README
# couchdb [![Build Status on CircleCI](https://circleci.com/gh/TechMagister/couchdb.cr.svg?style=svg)](https://circleci.com/gh/TechMagister/couchdb.cr)
CouchDB client written in crystal## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
couchdb:
github: TechMagister/couchdb.cr
```## Usage
```crystal
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
- [x] Get server info
- [x] Create Database
- [x] Delete Database
- [x] List Databases
- [x] Get new uuid
- [x] Create Documents
- [x] Find all the documents
- [x] Find Documents with criteria
- [x] Delete Documents
- [x] 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](https://github.com/TechMagister) Arnaud Fernandés - creator, maintainer
- [Schniz](https://github.com/Schniz) Gal Schlezinger - contributor