A simple live GraphQL chat app built using React, Node, Apollo Server/Client and TypeGraphQL. Built for dev.to article series!
- Run
yarn
to install deps - Make
.env
file withPORT=9000
- Run
yarn watch
to compile TS files - In another terminal, run
yarn dev
- Visit
localhost:9000/graphql
to view GraphQL Playground
- Run
yarn
to install deps - Run
yarn start
- Visit
localhost:3000
/graphql
: hascreateChat
mutation andallChats
query resolvers/subscriptions
: hasmessageSent
subscription