Coder Social home page Coder Social logo

emart-firebase-indexing's Introduction

To perform Firebase indexing, follow these straightforward steps:


  1. To set up NPM on your computer, download Node.js from the following link: https://nodejs.org/en/download/

  2. Unzip the source code file named "Firebase Indexing.zip" here.

  3. Navigate to the extracted directory of "Firebase Indexing" zip file. Press and hold the ctrl+shift buttons, then right-click the mouse button. From the context menu, select "Open PowerShell window here" to launch Windows PowerShell and execute import/export commands.

  4. Execute the command "firebase login" to log in to Firebase, if you haven't already done so.

  5. Execute the command "firebase init"

  6. Proceed with Y and press the enter button.

  7. Choose the Option > Firestore: Configure security rules and indexes files for Firestore.

Please Note: Choose the arrow down key to navigate and select options, and press the space button to confirm your selection.

  1. Choose the Option > Use an existing project

  2. Choose your project

  3. Press Enter > ? What file should be used for Firestore Rules? firestore.rules

  4. Press Enter > ? What file should be used for Firestore indexes? (firestore.indexes.json)

  5. Now, the firestore.indexes.json file will be downloaded. Open this file and copy all the code from firestore_indexes.json file, then paste it into firestore.indexes.json file.

  6. Now execute the command "firebase deploy --only firestore:indexes" to import indexing in firestore.

Refer to this video for assistance: https://youtu.be/DeWVR5sNaFg

emart-firebase-indexing's People

Contributors

binung avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.