ng-sapphiredb - Angular client
SapphireDb is a self-hosted, easy to use realtime database for Asp.Net Core and EF Core.
It creates a generic API you can easily use with different clients to effortlessly create applications with realtime data synchronization. SapphireDb should serve as a self hosted alternative to firebase realtime database and firestore on top of .Net.
Check out the documentation for more details: Documentation
Features
- 🔧 Dead simple configuration
- 📡 Broad technology support
- 💻 Self hosted
- 📱 Offline support
- 💾 Easy to use CRUD operations
- ⚡️ Model validation
- ✔️ Database support
- 📂 Supports joins/includes
- ➿ Complex server evaluated queries
- 🔌 Actions
- 🔑 Authorization included
- ✉️ Messaging
- 🌐 Scalable
Installation
Install Package
To use ng-sapphiredb you have to install the package using npm
In your angular app folder execute
npm install ng-sapphiredb sapphiredb axios -S
Import SapphireDbModule in your app.module
imports: [
BrowserModule,
SapphireDbModule,
]
Browser compatibility
Browser | Websocket | SSE | Polling |
---|---|---|---|
Chrome | ✔️ | ✔️ | ✔️ |
Firefox | ✔️ | ❌ | ✔️ |
Opera | ✔️ | ❌ | ✔️ |
Edge | ✔️ | ❌ | ✔️ |
Internet Explorer 11 | ✔️ | ❌ | ✔️ |
Example
Documentation
Check out the documentation for more details: Documentation
Implementations/Packages
Server
SapphireDb - Server for Asp.Net Core
Client
sapphiredb - JS client (JS, NodeJs, React, Svelte, ...)
ng-sapphiredb - Angular client
Author
Licenses
SapphireDb - MIT License
sapphiredb-js - MIT License