/user_management_api

Easy to use User Management API with basic CRUD and a few extra tweaks.

Primary LanguageTypeScriptMIT LicenseMIT

Setup

Run:

npm install -g firebase-tools
firebase login
cd functions/
npm install

Making changes

Code is in functions/src

After making changes, just run:

firebase deploy --only functions

Setting up Authorization

It is recommended to setup an API key. To do this, run:

firebase functions:config:set tab_api.client_key='YOUR_CURRENT_API_KEY'

To generate a new API key, run:

node -e "console.log(require('crypto').randomBytes(20).toString('hex'))"