1.0.1 • Published 3 years ago

merinadb v1.0.1

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

MerinaDB is a fast, responsive and efficient database created to manage data in modern and big applications using a very competent interface.

Starting 🚀

This instructions will allow you to start using MerinaDB easily.

Pre-requisites 📋

You need to install Node.js from here.

Installation 🔧

You can install this package by doing the following command in your console:

$ npm install merinadb

Deployment 📦

Here is an example for using our database system:

const MerinaClient = require('merinadb')

const db = new MerinaClient.Cluster('merinadb://localhost@root:123456785323') // you can get a cluster in our web

db.connect()

const col = new MerinaClient.Collection('Example Inc.')
col.insertOne('customers',
{ name: 'Robert',
surname: 'A. Cortright',
address: {
    street: '1325 Conference Center Way',
    city: 'Scranton',
    state: 'PA',
    zip: 18503
},
number: '+1 570-878-2815'
})

let o = col.findOne({
    document: 'customers',
    key: 'name'
})

db.end() // if you want, you can close the connection, but it will be automatically closed when you close your project.

Authors ✒

Thanks to all the people and packages that helped to create this project.

  • FS - Main JSON engine
  • Chiquicalris - Contributed using the package

License 📄

This product is under the MIT License.