Skip to content

A collection of useful methods for executing Firestore operations and queries

License

Notifications You must be signed in to change notification settings

jerryOluranti/firestored

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firestored 🔥

An helper library that simplifies Firebase Firestore operations and queries

This library is built on the firebase-admin sdk, thus limiting it to server side usage only.


Features

  • Methods for CRUD operations on Documents and Collections
  • Create and manage references
  • Query, Order and Limit support
  • Create and manage Sub-Collections

Getting Started

Install

npm i firestored or yarn add firestored

Import

import { FirestoreHelper } from "firestored" or const { FirestoreHelper } = require("firestored")

Create Instance

  const catCollection = new FirestoreHelper(firestore, 'cats😼');
  // firestore => FirebaseFirestore.Firestore object
  // collection => string

Check here for available methods for I am too lazy busy to write docs at the moment 🦥😂

Wohooo🚀🚀🚀


🪲 Report bugs and issues on the git repo

⭐ Remember to leave a star on the repository

💞 Follow me on twitter

About

A collection of useful methods for executing Firestore operations and queries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published