Robert J. Berger wrote this piece about a template of how to create a basic Re-Frame SPA with authentication from AWS Amplify with almost not coding and without having to set up your own backend authentication infrastructure.
The goal of this project is to show how to be able to use AWS Amplify with Clojurescript / Re-Frame Web Apps.
AWS Amplify makes it super simple to build Web and Mobile Apps that use the entire suite of AWS Services with minimal coding by the app developer. Clojurescript and Re-Frame make creating SPA apps a joy.
The article goes over:
- Re-Frame / Clojurescript / Shadow-cljs
- Assumptions, and initial setup
- Ensure the basics are working
- Set up AWS Amplify
- Update the code to enable the Authenticator
Code is also provided together with detailed explanation. You can continue with this to use other AWS Amplify authentication features (Social Provider Federation, Multi-factor auth, etc) as well as the other Amplify services such as graphql access to DynamoDB, Push notifications, etc.). Nice one!
[Read More]