Skip to content

Frontend for AWS Chat with React, MaterialUI, Apollo Client, GraphQL, Redis PubSub. Deployment with Cloudfront and AWS Amplify

Notifications You must be signed in to change notification settings

thangtran3112/chatter-ui

Repository files navigation

Install required Material UI libraries

NodeJS v20X npm i --save @mui/material @emotion/react @emotion/styled @fontsource/roboto @mui/icons-materi al

Install eslint for typescript

https://andrebnassis.medium.com/setting-eslint-on-a-react-typescript-project-2021-1190a43ffba https://dev.to/quizzes4u/how-to-set-up-eslint-and-prettier-in-react-typescript-5-project-2023-hd6

npx eslint --init

Install NestJs CLI:

npm i -g @nestjs/cli@latest nest new chatter-backend

Material UI libraries

Install GraphQL Codegen libraries

npm i -D @graphql-codegen/cli @parcel/watcher npx run graphql-code-generator init npm run codegen

  • Using concurrently in package.json to start web server along with watching codegen together:

npm i -D concurrently

"scripts": {
    "start": "concurrently \"react-scripts start\" \"npm run codegen --watch\"",
}

Apollo Client Usages

React infinite scroller

  • npm i react-infinite-scroller to help scrolling for Chat component
  • npm i -save-dev @types/react-infinite-scroller

About

Frontend for AWS Chat with React, MaterialUI, Apollo Client, GraphQL, Redis PubSub. Deployment with Cloudfront and AWS Amplify

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages