Skip to content

Commit 08e96a5

Browse files
authored
Update README.md
Fix links
1 parent b796a2a commit 08e96a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
![Run unit tests](https://github.com/18F/couch-rules-engine/workflows/Run%20unit%20tests/badge.svg)
2-
31
# Couch Rules: Using CouchDB as a Rules Engine
42

53
This is a prototype effort to evaluate the suitability of using [CouchDB](http://couchdb.apache.org/) as the foundation for a rules engine using the built in [document validation features](http://docs.couchdb.org/en/stable/ddocs/ddocs.html#validate-document-update-functions).
64

75
## CouchDB overview
86

9-
CouchDB is a document-oriented database that stores documents in JSON format and supports [map/reduce](http://docs.couchdb.org/en/2.2.0/ddocs/ddocs.html#view-functions) for querying documents. CouchDB exposes a number of [REST endpoints](https://docs.couchdb.org/en/latest/intro/api.html) for interacting and managing single instances or clusters. In addition, CouchDB supports a special type of document called a [design document](http://docs.couchdb.org/en/2.2.0/ddocs/index.html) that are used to query, display, aggregate and validate updates to data in a CouchDB database.
7+
CouchDB is a document-oriented database that stores documents in JSON format and supports [map/reduce]([http://docs.couchdb.org/en/2.2.0/ddocs/ddocs.html#view-functions](https://docs.couchdb.org/en/stable/ddocs/views/intro.html)) for querying documents. CouchDB exposes a number of [REST endpoints](https://docs.couchdb.org/en/latest/intro/api.html) for interacting and managing single instances or clusters. In addition, CouchDB supports a special type of document called a [design document](https://docs.couchdb.org/en/stable/api/ddoc/index.html) that are used to query, display, aggregate and validate updates to data in a CouchDB database.
108

119
When creating or updating a document in a CouchDB database, validation functions are used to "prevent invalid or unauthorized document update requests from being stored."
1210

@@ -21,7 +19,7 @@ Validation rules can be used to ensure that only "valid" data is saved, or that
2119
* Ability to write validation rules in JavaScript.
2220
* Ability to dis-aggregate complex rules into smaller bits of logic as separate, standalone design docs.
2321
* Ability to create and use existing JavaScript testing frameworks to more effectively manage rule sets.
24-
* Ability to replicate rule sets across CouchDB instances using built in [replication features](http://docs.couchdb.org/en/2.2.0/replication/index.html).
22+
* Ability to replicate rule sets across CouchDB instances using built in [replication features](https://docs.couchdb.org/en/stable/replication/index.html#replication).
2523

2624
## Drawbacks / challenges
2725

0 commit comments

Comments
 (0)