Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0x80/firestore-facade
A simplified, strongly-typed, zero-dependency API for Typescript projects using Firestore
https://github.com/0x80/firestore-facade
firebase firestore nodejs typescript
Last synced: 25 days ago
JSON representation
A simplified, strongly-typed, zero-dependency API for Typescript projects using Firestore
- Host: GitHub
- URL: https://github.com/0x80/firestore-facade
- Owner: 0x80
- Created: 2021-11-28T12:05:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T09:48:05.000Z (9 months ago)
- Last Synced: 2024-04-14T07:23:57.434Z (7 months ago)
- Topics: firebase, firestore, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 360 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Firestore Façade Packages
> !!WARNING This code is not ready for public consumption just yet.
A simplified, strongly-typed, zero-dependency API for Typescript projects using
Firestore.See the [Server package README](./packages/facade/README.md) for more details.
## Packages
- [@firestore-facade/cli](./apps/cli/README.md): The command-line tool for
generating the facade boilerplate
- [@firestore-facade/server](./packages/server/README.md): The Firestore Facade
server API for Node.js## Examples
- [node](./examples/node/README.md): A Node.js example showcasing the use of
`@firestore-facade/cli` and `s@firestore-facade/server`.## Supported Platforms
At the moment this project focusses on Node.js using the
[firebase-admin](https://github.com/firebase/firebase-admin-node) client, and
the most of the code is providing patterns that are useful for backend
applications.In the future this should be made compatible with the
[Cloud Firestore](https://github.com/googleapis/nodejs-firestore) with little
modification, because both are technically the same product.Applying same the concept to the Firebase web client should also be possible,
however it would probably not be trivial because not all of the used
functionality of the `firebase-admin` package is available in the web client.I plan to investigate if the concept is also feasible for a web and I would be
specifically interested in using it for React hooks.