Skip to content
/ gnomedb Public

In-memory DBMS Coursework project. (Currently frozen, in plans to continue development)

License

Notifications You must be signed in to change notification settings

ip-05/gnomedb

Repository files navigation

GnomeDB

GnomeDB is an in-memory DBMS (Database Management System) built on Node.js

Installation

Clone the repository and run npm installation command

npm install @gnomedb/gnomedb

Usage

const GnomeDB = require('@gnomedb/gnomedb');
const db = new GnomeDB();

const [marcus, lucius, pius, hadrian, trajan] = db.addFrom([
  { name: 'Marcus Aurelius', city: 'Rome', born: 121, dynasty: 'Antonine' },
  { name: 'Lucius Verus', city: 'Rome', born: 130, dynasty: 'Antonine' },
  { name: 'Antoninus Pius', city: 'Lanuvium', born: 86, dynasty: 'Antonine' },
  { name: 'Hadrian', city: 'Santiponce', born: 76, dynasty: 'Nerva–Trajan' },
  { name: 'Trajan', city: 'Sevilla', born: 98, dynasty: 'Nerva–Trajan' },
]);

console.log(db.find({ born: { $gt: 121 }, dynasty: 'Antonine' })); // Lucius Verus

Scripts

Run tests

npm run test

Generate typescript declarations

npm run types

Run linter

npm run lint

Authors

Yevgen Yakovliev (Github)

Mykola Chub (Github)

Artem Bondarchuk (Github)

Alina Dyachenko (Github)

Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

License

This project is MIT licensed.

About

In-memory DBMS Coursework project. (Currently frozen, in plans to continue development)

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •