Simple Firestore Admin Console. This is a simple management console that can be used on a local PC.
Since this use Firebase Admin SDK, you can use it just by preparing a private key file.
You can use it without changing any special security rules.
- select collection:
collection().where().orderBy()
- update document:
doc().update()
- delete document:
doc().delete()
$ git clone [email protected]:memory-lovers/simple-firestore-admin.git
- create
.env
file
$ cd simple-firestore-admin
$ cp env_sample .env
- place your private key
please place your private key; ex ./credential.json
, same location as .env
if you don't have private key, you can generate form Firebase Console.
Plese see Firebase Official Document.
- setting path of your private key into
.env
# Copy this file with file name '.env'
## ex. CREDENTIAL_PATH=./credential.json
- CREDENTIAL_PATH=YOUR_CREDENTIAL_PATH
+ CREDENTIAL_PATH=./credential.json
install package and build, lanch server
$ npm install
$ npm run build
$ npm run start
you can access http:https://localhost:3000
.
Memory Lovers (GitHub / WebSite / Twitter) kira_puka (Twitter)