This app allows an admin to invite new users via SMS text message. Users can sign up with a username and temporary PIN.
-
Admin invites a phone number by submitting it on the website.
-
The app texts the user asking them to reply with a code phrase.
-
When the user replies correctly, the app texts them a temporary PIN.
-
The user signs up on the website by entering their phone number, PIN, and a username.
-
The app verifies their PIN matches and creates an account, deleting the phone number.
-
The user is now logged in without exposing their personal phone number!
- Node.js + Express backend
- SQLite database
- Vonage Messages and Verify APIs
- HTML/CSS/JS frontend
- Clone this repo
- Install dependencies with
npm install
- Configure your Vonage APIs and
.env
- Start the server with
npm start
- View in browser at
http://localhost:{port}