Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/realkfiros/strp
Single Time Registration Page
https://github.com/realkfiros/strp
firebase-auth firebase-cloud-functions firebase-firestore kotlin swing user-management
Last synced: 12 days ago
JSON representation
Single Time Registration Page
- Host: GitHub
- URL: https://github.com/realkfiros/strp
- Owner: realKfiros
- Created: 2018-10-19T05:06:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-20T20:46:02.000Z (over 6 years ago)
- Last Synced: 2024-11-21T06:32:36.118Z (2 months ago)
- Topics: firebase-auth, firebase-cloud-functions, firebase-firestore, kotlin, swing, user-management
- Language: Kotlin
- Size: 18.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
*NOTE: THIS PROJECT IS A WORKING EXAMPLE THAT YOU CAN TRY YOURSELF IF YOU WANT, BUT IT'S NOT INTENDED TO DO THAT. YOU CAN USE THIS PROJECT TO BUILD YOUR OWN STRP SYSTEM, BUT REMEMBER THAT IT'S JUST AN EXAMPLE.*
# STRP - Single Time Registration PageThis project is an example project that demonstrates how to create a registration page for only one time use and for only one email every time using a Firebase Cloud Firestore, Swing and Kotlin.
I also used in this project Firebase Cloud Functions in order to send an email with the registration key. I wrote the function with TypeScript. I'm sending the email from the function using the great Node.JS module [Nodemailer](https://github.com/nodemailer/nodemailer).
This would be useful if you want to create an app but only for yourself and you want no one else to be able to create a user.
The user gets his unique "registration key" on email or somewhere else and then he enters it in this wizard.
After the user is being created for that email, this unique key is being removed from the database so no one will be able to use that key again.## Project map
There are 3 parts in this example:
1) admin - the swing app for the app admin, in order to create an STRP
2) backend - the cloud function that sends an email with the registration key
3) client - the client registration wizard