Skip to content

poussa/akatemia

Repository files navigation

Development

Databases

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.

Polymer

cd public
polymer serve
polymer build

Firebase

firebase login
firebase projects:list
firebase use production|testing
firebase deploy

In public/src/app-shell.js toggle PRODUCTION variable to do your thing.

Admin

Use the testing environment

export TARGET_ENV=testing

Email change

./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>

Add new member

./akatemia.js --add-member --email <email> --firstname <name> --lastname <name>

Delete old member

Delete user

./akatemia.js --get-user --email <email>
./akatemia.js --del-user --uid <uid>

Update display name

./akatemia.js --update-user --uid <uid> --displayname <text>

Versions

2020 Edition

firebase --version
8.0.2
polymer --version
1.9.11  
npm --version
6.12.0
node --version
v10.20.0

2019 Edition

firebase --version
6.4.0
polymer --version
1.9.11  
npm --version
6.12.0
node --version
v10.5.0

About

Tennis Court Reservation System

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published