WIP
A WebAssebly ORM for writting SQLite queries. Can be used by web and mobile clients to query SQLite. It includes clients for Web (React and Angular), iOS, and Android, along with a Rust-based ORM package.
Below is the directory layout for the project:
wa-forge/
├── pnpm-workspace.yaml
└── packages/
├── client/
│ ├── typescript/
│ │ └── frameworks/
│ │ ├── react/
│ │ │ └── package.json (Thin client layer for React)
│ │ └── angular/
│ │ └── package.json (Thin client layer for Angular)
│ ├── android/
│ │ └── build.gradle (Wasm3, Android SQLite)
│ └── iOS/
│ └── Podfile (SQLite.swift, Wasm3)
├── orm/
│ └── Cargo.toml (rusqlite, Diesel, wasm-bindgen, wasm-pack)
└── shared/
└── ...
- Install PNPM:
npm install -g pnpm
Navigate to the orm/
directory and build the Rust project with WebAssembly support:
wasm-pack build
Navigate to the client/iOS/
directory and install the required pods:
pod install
Open the client/android/
directory in Android Studio and build the project.
Navigate to the orm/
directory and build the Rust project:
cargo build