An open-source document-oriented, seamless multi-master syncing database with an intuitive HTTP/JSON API, designed for reliability
CouchDB is Simmilar to MongoDB, but more lightweight and easier to use.
Apache CouchDB lets you access your data where you need it. The Couch Replication Protocol is implemented in a variety of projects and products that span every imaginable computing environment from globally distributed server-clusters, over mobile phones to web browsers.
Store your data safely, on your own servers, or with any leading cloud provider. Your web- and native applications love CouchDB, because it speaks JSON natively and supports binary data for all your data storage needs.
The Couch Replication Protocol lets your data flow seamlessly between server clusters to mobile phones and web browsers, enabling a compelling offline-first user-experience while maintaining high performance and strong reliability. CouchDB comes with a developer-friendly query language, and optionally MapReduce for simple, efficient, and comprehensive data retrieval.
Similarities:
Main differences:
COUCHDB_USER
: The initial admin usernameCOUCHDB_PASSWORD
: The initial admin passwordWhen the service is started for the first time, initialization is required. It is recommended to use the built-in Fauxton management panel for configuration.
CouchDB built-in Fauxton admin webpage
. Log in with the initial username and password.Management interface documentation: https://docs.couchdb.org/en/stable/fauxton/install.html#fauxton-visual-guide
Management panel address: Fauxton -- CouchDB built-in admin webpage
in the Service Status page.
Log in with the username (CouchDB username
) and password (CouchDB password
).
The interface will allow you to manage database data and configurations.
API Documentation: https://docs.couchdb.org/en/stable/api/index.html
The following example shows how to send a GET request to the
/
path. The database should return a welcome message.
Use tools like curl
to send HTTP REST requests.
curl <the address copied above>
The response will contain welcome data, including version features, version number, and more.
{
"couchdb": "Welcome",
"version": "3.4.2",
"git_sha": "6e5ad2a5c",
"uuid": "7687c62cfdf781f4623b721104a70c88",
"features": [
"access-ready",
"partitioned",
"pluggable-storage-engines",
"reshard",
"scheduler"
],
"vendor": {
"name": "The Apache Software Foundation"
}
}