Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/no0dles/daita
- Owner: no0dles
- License: mit
- Created: 2020-01-01T12:10:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-14T19:44:37.000Z (12 months ago)
- Last Synced: 2024-12-06T04:05:41.414Z (about 1 month ago)
- Topics: database, node, orm, typescript
- Language: TypeScript
- Homepage: https://docs.daita.ch
- Size: 16.7 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 61
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Daita
## 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
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.
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.
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.
## How does it work?
### Usual architecture
### Daita architecture
### Packages
| Package | Description | Downloads | Coverage | Status |
| --- | --- | --- | --- | --- |
| @daita/relational | SQL abstractions for accessing relational databases | | | beta |
| @daita/orm | An OR mapper which handles schema migrations for relational databases | | | alpha |### Adapters
| Package | Description | Downloads | Coverage | Status |
| --- | --- | --- | --- | --- |
| @daita/pg-adapter | Postgres adapter | | | alpha |
| @daita/sqlite-adapter | Sqlite adapter | | | - |
| @daita/http-adapter | HTTP adapter | | | alpha |### Development & Tooling
| Package | Description | Downloads | Coverage | Status |
| --- | --- | --- | --- | --- |
| @daita/create | Bootstrapping and initalizing new daita projects using `npm init @daita` or `npx @daita/create` | | | alpha |
| @daita/cli | A cli used during development to generate migrations and diagrams | | | alpha |
| @daita/eslint-config | Linting rules for daita related code | | | alpha |