Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saswatamcode/graphqlchat
A simple live GraphQL chat app built using React, Node, Apollo Server/Client and TypeGraphQL.
https://github.com/saswatamcode/graphqlchat
apollo-client apollo-server graphql react typegraphql
Last synced: about 1 month ago
JSON representation
A simple live GraphQL chat app built using React, Node, Apollo Server/Client and TypeGraphQL.
- Host: GitHub
- URL: https://github.com/saswatamcode/graphqlchat
- Owner: saswatamcode
- License: mit
- Created: 2021-02-23T03:29:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-28T08:03:55.000Z (almost 4 years ago)
- Last Synced: 2025-01-03T10:11:51.518Z (about 2 months ago)
- Topics: apollo-client, apollo-server, graphql, react, typegraphql
- Language: TypeScript
- Homepage: https://dev.to/dsckiitdev/build-a-chat-app-with-graphql-subscriptions-typescript-part-1-2p70
- Size: 232 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/MIT)
[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[](https://GitHub.com/Naereen/ama)
[](https://GitHub.com/saswatamcode/graphQLChat/network/)
[](https://GitHub.com/saswatamcode/graphQLChat/stargazers/)
[](https://GitHub.com/saswatamcode/graphQLChat/issues/)
[](https://github.com/ellerbrock/open-source-badges/)# 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[](https://forthebadge.com)