This is a web chat app build using Next.js and Amplify to easily build our backend
Simple video of this application
- "Cognito" for authentication
- "AppSync" for our API (using GRAPHQL)
- "DynamoDB" for persistence
- "S3" for file storage.
- "Lambda Function" for PostConfirmation with cognito
First, configure the Amplify CLI:
npm install -g @aws-amplify/cli
amplify configure
Second, after configuring amplify CLI you should push all the infra to your AWS account:
amplify push
Third, get the envs (The command below should create a file called "aws-exports.js" inside "/src")
amplify env checkout dev
Fourth, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.