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
- :wrench: Dead simple configuration
- :satellite: Broad technology support
- :computer: Self hosted
- :iphone: Offline support
- :floppy_disk: Easy to use CRUD operations
- :zap: Model validation
- :heavy_check_mark: Database support
- :open_file_folder: Supports joins/includes
- :loop: Complex server evaluated queries
- :electric_plug: Actions
- :key: Authorization included
- :envelope: Messaging
- :globe_with_meridians: Scalable
Learn more
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 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Firefox | :heavy_check_mark: | :x: | :heavy_check_mark: |
Opera | :heavy_check_mark: | :x: | :heavy_check_mark: |
Edge | :heavy_check_mark: | :x: | :heavy_check_mark: |
Internet Explorer 11 | :heavy_check_mark: | :x: | :heavy_check_mark: |
Example
Angular Example
Documentation
Check out the documentation for more details: Documentation
Implementations
Server
SapphireDb - Server for Asp.Net Core
Client
sapphiredb - JS client (JS, NodeJs, React, Svelte, ...)
ng-sapphiredb - Angular client
Author
Morris Janatzek (morrisjdev)
Licenses
SapphireDb - MIT License
sapphiredb-js - MIT License