Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@dadi/api-couchdb
Advanced tools
To run the test suite you'll need a CouchDB server running on localhost with the default port of 5984. If you've changed the default port, modify the test configuration file at config/couchdb.test.json
. This file is created from config/couchdb.test.json.sample
the first time the test suite is run.
Run the tests:
$ git clone https://github.com/dadi/api-couchdb.git
$ cd api-couchdb
$ npm test
Configuration settings are defined in JSON files within a /config
directory at the root of your API application. DADI API has provision for multiple configuration files, one for each environment that your API is expected to run under: development
, qa
and production
.
The naming convention for CouchDB configuration files follows the format couchdb.<environment>.json
For example:
couchdb.development.json
couchdb.qa.json
couchdb.production.json
my-api/
config/ # contains environment-specific
# configuration properties
config.development.json
config.qa.json
config.production.json
couchdb.development.json
couchdb.qa.json
couchdb.production.json
main.js # the entry point of the app
package.json
workspace/
collections/ # collection schema files
endpoints/ # custom Javascript endpoints
[TODO]
FAQs
A CouchDB adapter for DADI API
The npm package @dadi/api-couchdb receives a total of 1 weekly downloads. As such, @dadi/api-couchdb popularity was classified as not popular.
We found that @dadi/api-couchdb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.