Skip to content

hipdev/firebase-rules-emulator-suite-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is based in the recent tutorials from the great Todd Kerpelman on Youtube

So you can just follow the tutorials without writing, is a bit hard to follow without to much time.

First part Unit testing security rules with the Firebase Emulator Suite.
Second part Intermediate topics in Firebase Security Rules.

Steps to reproduce

Clone the repo, then don't be lazy and check the tutorials from Youtube :v

Start firestore emulator

firebase emulators:start --only firestore

Run tests

in the test directory run: npm test

Some notes

request.resource.data: The data who is been sending to db
resource.data: Data who is already in the db

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published