0.1.0 • Published 5 years ago

@vargr/vargr-dbai v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Vargr DBai

One API, all the databases.

This is a simplified API that allows one to do all common CRUD methods on a variaty of databases using the same API. This is not and ORM, or a query builder, but has features from both.

The gain is the abillity to write generic layers for Auth, Rest, Validation etc. will work across databases. The price, is an overhead in translating queries and results, as well as not being able to do complex queries.

Storage integrations

  • LowDB
  • MongoDB
  • Sequalize (Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server)
    • This might get deprecated as Knex does the same, but simpler.
  • Knex (Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server)

Todo:

Architectural vision

All interfaces are normalized with a single test suite to keep the same API. The reasoning is to keep this project small and modular.

The shared test suite will ensure sensible defaults for all interfaces. These defaults are to keep configuration to a minimum, and allow more rapid development.