🚨 Note that this project does not create our backend services via the Amplify CLI, but relies on exported values from the AWS CDK.
🚨 This application is part of a blog post that explains both the frontend and the backend as a whole. The backend repo can be found here
This repo is the frontend to building a fullstack chat app. The backend can be found here.
- React Framework: NextJS
- UI Library: AWS Amplify UI primitives
- API: GraphQL via AWS AppSync
- File uploads: Sent to Amazon S3
- Signup/SignIn: Managed with Cognito
- Backend Binding: amplify-js
Once the backend is deployed, it will output a set of values. The outputted values are what you'll need to get this project working.
- Run
amplify init
- Run
amplify add codegen --apiId YOUR_APPID
(value generated from the backend) amplify codegen
(accept the defaults, but set the max-depth to 4)- Create a
src/aws-exports.js
file and bring over the values from your CDK backend and ensure your project looks like thesample.aws-exports.js
file. - Run the app and create 2 users
- Once signed in, create a room.
- You should now be able to view the rooms on the homepage. Click one and begin creating messages.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.