I'm looking to build a single page application using AWS services and I'm curious if anyone has experience with this. What tech stack did you use for authentication and overall setup?
5 Answers
You might want to check out AWS Amplify! It's great for deploying web apps. It handles a lot for you, including GraphQL queries and DynamoDB integration. Pair it with Cognito for user authentication.
For a simple setup, I recommend using S3 for hosting, CloudFront for CDN, and Cognito for authentication. This combination works really well for SPAs.
If you're coding the front end, consider using React or basic HTML. For the backend, you can go with API Gateway and Lambda. That's a solid combination with Cognito for authentication.
Don't forget that there are other options too! Auth0 is a popular alternative to Cognito if you're looking for something different for authentication.
Have you thought about using Amplify's Gen 2 stack? It covers a lot of what you’ll need and supports frameworks like React and Angular while utilizing Cognito for user management.
Related Questions
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads