Requarks is using the NoSQL engine MongoDB as its database.

What is MongoDB?

527

MongoDB is cross-platform, open-source and highly scalable. MongoDB avoids the traditional table-based relational database structure in favor of JSON-like documents with dynamic schema. It is the most widely used document store engine in the world.

Manual Installation

  1. Download MongoDB
  2. Follow the installation guide for your platform.
  3. Start the mongo client (mongo.exe on windows)
  4. Create a new user with dbOwner role by running the following commands:
# Replace <database> in the command below:

use <database>

# Replace <name> and <password> in the command below:

db.createUser({ user: "<name>", pwd: "<password>", roles: ["dbOwner"] })
  1. That's all folks!

Cloud-based Solutions

Various cloud providers are offering MongoDB as a service, such as:

Paas - Fully managed

Iaas (Infrastructure-as-a-Service)

Connection String

During Requarks installation, you will need to provide a MongoDB connection string, in the following format:

mongodb://username:password@hostname:port/database

# Local database named requarks, no authentication
mongodb://localhost/requarks

# Local database named requarks, using username / password authentication
mongodb://requarkusr:p4ssW0rd@localhost/requarks

# Remote database named requarks, using username / password authentication, on port 34567
mongodb://requarkusr:[email protected]:34567/requarks