Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rodrigo-brito/go-whatsapp
Simple chat with Go, GraphQL (GQLGen) and React.
https://github.com/rodrigo-brito/go-whatsapp
go gqlgen graphql react websocket whatsapp
Last synced: 3 months ago
JSON representation
Simple chat with Go, GraphQL (GQLGen) and React.
- Host: GitHub
- URL: https://github.com/rodrigo-brito/go-whatsapp
- Owner: rodrigo-brito
- License: mit
- Created: 2020-05-21T22:10:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T02:41:02.000Z (almost 4 years ago)
- Last Synced: 2024-05-01T14:12:40.354Z (10 months ago)
- Topics: go, gqlgen, graphql, react, websocket, whatsapp
- Language: TypeScript
- Homepage: http://chat.brito.com.br/
- Size: 1.88 MB
- Stars: 20
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-whatsapp
[](https://godoc.org/github.com/StudioSol/balancer)
[](https://goreportcard.com/report/github.com/rodrigo-brito/go-whatsapp)Simple chat with Go, GraphQL and React
- Presentation (pt-BR): https://slides.com/rodrigo73/chat-graphql-go-react
- Video: https://youtu.be/BV_aDPAaEpI?t=297
- Demo: http://chat.brito.com.br
## Project setup
- **Fron-end**: Front-end based on React + Typescript, mantained in `website` folder.
- `yarn start` - Development mode
- `yarn build` - Build production version
- `yarn type` - Update types from GraphQL schema- **Back-end**: Back-end based in Go with persistence in Firestore (Googe Firebase)
- Setup a new firebase project and copy project credentials to `credentials.json`, in project root.
- `make run` - Start watcher for develpment mode
- `make gqlgen` - Update and generate a fresh version of GraphQL code## Licenses
- Released under [MIT License](LICENSE)
- Layout by [Zeno Rocha](https://github.com/zenorocha). Released with MIT license in [Codepen](https://codepen.io/zenorocha/pen/eZxYOK)