saswatamcode / graphQLChat

A simple live GraphQL chat app built using React, Node, Apollo Server/Client and TypeGraphQL.

Home Page:https://dev.to/dsckiitdev/build-a-chat-app-with-graphql-subscriptions-typescript-part-1-2p70

Repository from Github https://github.comsaswatamcode/graphQLChatRepository from Github https://github.comsaswatamcode/graphQLChat

License: MIT Maintenance Ask Me Anything ! GitHub forks GitHub stars GitHub issues Open Source Love svg1

GraphQL Live Chat App

A simple live GraphQL chat app built using React, Node, Apollo Server/Client and TypeGraphQL. Built for dev.to article series!

To Run

Server

  • Run yarn to install deps
  • Make .env file with PORT=9000
  • Run yarn watch to compile TS files
  • In another terminal, run yarn dev
  • Visit localhost:9000/graphql to view GraphQL Playground

Client

  • Run yarn to install deps
  • Run yarn start
  • Visit localhost:3000

GraphQL API Endpoints

  • /graphql: has createChat mutation and allChats query resolvers
  • /subscriptions: has messageSent subscription

forthebadge

About

A simple live GraphQL chat app built using React, Node, Apollo Server/Client and TypeGraphQL.

https://dev.to/dsckiitdev/build-a-chat-app-with-graphql-subscriptions-typescript-part-1-2p70

License:MIT License


Languages

Language:TypeScript 72.5%Language:HTML 19.4%Language:CSS 4.1%Language:JavaScript 4.1%