Skip to content

saswatamcode/graphQLChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published