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.
There is also an example project located in the 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
The Tidelift Subscription provides access to a continuously curated stream of human-researched and maintainer-verified data on open source packages and their licenses, releases, vulnerabilities, and development practices.