Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/no0dles/daita

typed sql made simple
https://github.com/no0dles/daita

database node orm typescript

Last synced: 25 days ago
JSON representation

typed sql made simple

Awesome Lists containing this project

README

        


daita


Daita


build
mit

## Motivation
The daita project aims to make the development and deployment of web applications easier, faster and safer.
Daita does this by removing the need for a backend service to access and store data.

## Documentation and examples
The Documentation and getting started guide is available at [docs.daita.ch](https://docs.daita.ch/).
There is also an example project located in the [src/examples](./src/examples) folder.

## Why use daita



productivity


Daita lets you focus on your business, and we'll do the chores. Go
ahead check out our demos and docs.




Daita was designed from the ground up to be as lightweight as possible
and have a minimum of external dependencies.

fast




fast


Catch errors early during compile time, but keep flexibility without adding more build tools.
Everything works with plain typescript and requires no additional build steps.




Take more control over the way it's allowed to execute a query and which data can be accessed.


security




programming


Take advantage of the complete set of SQL capabilities with additional type checks and linting rules.




Generate sql migrations with the powerfull daita cli with support for backward compatible schema changes.


cli

## How does it work?

### Usual architecture
legacy architecture

### Daita architecture
daita architecture

### Packages
| Package | Description | Downloads | Coverage | Status |
| --- | --- | --- | --- | --- |
| @daita/relational | SQL abstractions for accessing relational databases | npm | | beta |
| @daita/orm | An OR mapper which handles schema migrations for relational databases | npm | | alpha |

### Adapters
| Package | Description | Downloads | Coverage | Status |
| --- | --- | --- | --- | --- |
| @daita/pg-adapter | Postgres adapter | npm | | alpha |
| @daita/sqlite-adapter | Sqlite adapter | npm | | - |
| @daita/http-adapter | HTTP adapter | npm | | alpha |

### Development & Tooling

| Package | Description | Downloads | Coverage | Status |
| --- | --- | --- | --- | --- |
| @daita/create | Bootstrapping and initalizing new daita projects using `npm init @daita` or `npx @daita/create` | npm | | alpha |
| @daita/cli | A cli used during development to generate migrations and diagrams | npm | | alpha |
| @daita/eslint-config | Linting rules for daita related code | npm | | alpha |