App to register and log in an user using the Twilio Verify service. See it in action below:
Generate the env files:
npm run init:env
This command create a dummy .env.local
and .env.docker
file.
Edit the content of the .env.*
file before starting the server.
Find below two options to start a server: Docker and Local. After starting the server, it is possible to access the user interfaces: Frontend and Backend.
Start the containers:
npm run build # optional to build the container
npm start # starts the database, backend, and frontend
Alternatively, it's possible to lift the servers locally using an external connection to MongoDB.
npm run local
## Future
- [security] Move both session and connection strings to AWS SSM or Secrets Manager
- [improvement] Validate login form before creating a verification request
- [feature] Add Verify Push
- [feature] Activate Swagger