{"id":13785460,"url":"https://github.com/PerfectlySoft/Perfect-CouchDB","last_synced_at":"2025-05-11T21:30:30.729Z","repository":{"id":69669926,"uuid":"75310665","full_name":"PerfectlySoft/Perfect-CouchDB","owner":"PerfectlySoft","description":"CouchDB Database Connector for Perfect.","archived":false,"fork":false,"pushed_at":"2018-02-09T17:50:46.000Z","size":49,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-05T06:37:13.904Z","etag":null,"topics":["couchdb","database","perfect","server-side-swift","swift"],"latest_commit_sha":null,"homepage":"https://www.perfect.org","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PerfectlySoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-12-01T16:23:22.000Z","updated_at":"2018-02-09T16:25:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec707468-811e-4453-9be4-103d36823c44","html_url":"https://github.com/PerfectlySoft/Perfect-CouchDB","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectlySoft%2FPerfect-CouchDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectlySoft%2FPerfect-CouchDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectlySoft%2FPerfect-CouchDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectlySoft%2FPerfect-CouchDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerfectlySoft","download_url":"https://codeload.github.com/PerfectlySoft/Perfect-CouchDB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253638726,"owners_count":21940414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["couchdb","database","perfect","server-side-swift","swift"],"created_at":"2024-08-03T19:01:00.712Z","updated_at":"2025-05-11T21:30:30.323Z","avatar_url":"https://github.com/PerfectlySoft.png","language":"Swift","funding_links":[],"categories":["Database Connectors"],"sub_categories":["CouchDB"],"readme":"# Perfect-CouchDB [简体中文](README.zh_CN.md)\n\n[![Perfect logo](http://www.perfect.org/github/Perfect_GH_header_854.jpg)](http://perfect.org/get-involved.html)\n\n[![Perfect logo](http://www.perfect.org/github/Perfect_GH_button_1_Star.jpg)](https://github.com/PerfectlySoft/Perfect)\n[![Perfect logo](http://www.perfect.org/github/Perfect_GH_button_2_Git.jpg)](https://gitter.im/PerfectlySoft/Perfect)\n[![Perfect logo](http://www.perfect.org/github/Perfect_GH_button_3_twit.jpg)](https://twitter.com/perfectlysoft)\n[![Perfect logo](http://www.perfect.org/github/Perfect_GH_button_4_slack.jpg)](http://perfect.ly)\n\n\n[![Swift 4.0](https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat)](https://developer.apple.com/swift/)\n[![Platforms OS X | Linux](https://img.shields.io/badge/Platforms-OS%20X%20%7C%20Linux%20-lightgray.svg?style=flat)](https://developer.apple.com/swift/)\n[![License Apache](https://img.shields.io/badge/License-Apache-lightgrey.svg?style=flat)](http://perfect.org/licensing.html)\n[![Twitter](https://img.shields.io/badge/Twitter-@PerfectlySoft-blue.svg?style=flat)](http://twitter.com/PerfectlySoft)\n[![Join the chat at https://gitter.im/PerfectlySoft/Perfect](https://img.shields.io/badge/Gitter-Join%20Chat-brightgreen.svg)](https://gitter.im/PerfectlySoft/Perfect?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![Slack Status](http://perfect.ly/badge.svg)](http://perfect.ly) [![GitHub version](https://badge.fury.io/gh/PerfectlySoft%2FPerfect-CURL.svg)](https://badge.fury.io/gh/PerfectlySoft%2FPerfect-CURL)\n\n## Apache CouchDB connector for Perfect\n\n**NOTE: This project is in beta**\n\nThis project provides connectivity to [Apache CouchDB](http://couchdb.apache.org).\n\nFull documentation can be found at [http://www.perfect.org/docs/CouchDB.html](http://www.perfect.org/docs/CouchDB.html)\n\nThis package builds with Swift Package Manager and is part of the [Perfect](https://github.com/PerfectlySoft/Perfect) project. It was written to be stand-alone and so does not require PerfectLib or any other components.\n\nEnsure you have installed and activated the latest Swift 4.0 tool chain.\n\n## Example usage:\n\n```swift\nvar test = CouchDB()\nvar auth = CouchDBAuthentication(\"perfect\", \"perfect\", auth: .basic)\n\ntest.connector.port = 5984\ntest.authentication = auth\nlet code = test.databaseCreate(\"testdb\")\n\nlet dataSubmit = [\"one\":\"ONE\",\"two\":\"TWO\"]\ndo {\n\tlet (addCode, response) = try test.addDoc(\"testdb\",doc: dataSubmit)\n\tprint(addCode)\n\tprint(response)\n} catch {\n\tprint(error)\n}\n\n```\n\n\n## Building\n\nAdd this project as a dependency in your Package.swift file.\n\n```\n.Package(url: \"https://github.com/PerfectlySoft/Perfect-CouchDB.git\", majorVersion: 3)\n```\n\n\n## Further Information\nFor more information on the Perfect project, please visit [perfect.org](http://perfect.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPerfectlySoft%2FPerfect-CouchDB","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPerfectlySoft%2FPerfect-CouchDB","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPerfectlySoft%2FPerfect-CouchDB/lists"}