I'm planning to create a single page application using AWS services, and I'm curious if anyone here has experience with this. Specifically, I'd love to hear about the tech stacks you've used and any recommendations you might have for handling authentication.
5 Answers
I recommend AWS Amplify if you're looking for something straightforward. It simplifies the deployment process and handles a lot of the backend for you, especially if you're using GraphQL with DynamoDB.
Don't forget about alternatives to Cognito! Auth0 is a solid option that might fit your needs better, depending on your project requirements.
For my single page application, I used S3 for hosting, CloudFront for distribution, and Cognito for authentication. It worked out really well!
Have you looked into the Amplify Gen 2 stack? It supports React and Angular for the front end and uses Cognito for user management, which makes it pretty flexible and powerful.
If you're building the front end, consider using React or just standard HTML. For the backend, I combined API Gateway with Lambda and also used Cognito for authentication. Amplify can really help you set everything up the right way too!
Thanks for the input! Do you think using only React would suit a more complex app?