Members: Admin adds a user to the database when he/she is accepted as a member to the community. Only members can register and thus been able to join the users database.
Users: Firebase Authentication database. User is added when he/she registers to the system.
cd public
polymer serve
polymer build
firebase login
firebase projects:list
firebase use production|testing
firebase deploy
In public/src/app-shell.js toggle PRODUCTION variable to do your thing.
Use the testing environment
export TARGET_ENV=testing
./akatemia.js --del-member --email <old-email>
./akatemia.js --get-user --email <old-email>
./akatemia.js --del-user --uid <old-uid>
./akatemia.js --add-member --email <new-email> --firstname <name> --lastname <name>
./akatemia.js --add-member --email <email> --firstname <name> --lastname <name>
./akatemia.js --get-user --email <email>
./akatemia.js --del-user --uid <uid>
./akatemia.js --update-user --uid <uid> --displayname <text>
firebase --version
8.0.2
polymer --version
1.9.11
npm --version
6.12.0
node --version
v10.20.0
firebase --version
6.4.0
polymer --version
1.9.11
npm --version
6.12.0
node --version
v10.5.0