Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nojaf/rescript-firebase
https://github.com/nojaf/rescript-firebase
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nojaf/rescript-firebase
- Owner: nojaf
- License: mit
- Created: 2024-08-08T18:24:29.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-03T09:18:16.000Z (about 1 month ago)
- Last Synced: 2024-10-11T19:49:57.211Z (about 1 month ago)
- Language: ReScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ReScript Firebase
Firebase bindings for
- https://www.npmjs.com/package/firebase (v10+)
- https://www.npmjs.com/package/firebase-functions (v6+)
- https://www.npmjs.com/package/firebase-admin (v12+)
- https://www.npmjs.com/package/react-firehooks (v4+)## Installation
This project is not complete so I would recommend to just copy the `src/Firebase.res` bindings into your own project and take it from there. I do accept contributions if you've used something in your project which is currently missing.
If you like, you can install all bindings via
```bash
bun install -D git+https://github.com/nojaf/rescript-firebase.git#5a3a80e670cfe6c8fbada6e51a8660b0d8dbcdaf
```Include them in your `rescript.json`:
```json
{
"bs-dependencies": ["@rescript/core", "rescript-firebase"]
}
```## Sample
Create a new Firebase project in the [console](https://console.firebase.google.com).
Register your web app and copy over the firebaseConfig in `Sample.res`.
Make the default Cloud Firestore instance.