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: 6 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T02:41:02.000Z (over 3 years ago)
- Last Synced: 2024-05-01T14:12:40.354Z (7 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
[![GoDoc](https://godoc.org/github.com/rodrigo-brito/go-whatsapp?status.svg)](https://godoc.org/github.com/StudioSol/balancer)
[![Go Report Card](https://goreportcard.com/badge/github.com/rodrigo-brito/go-whatsapp)](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![image](https://user-images.githubusercontent.com/7620947/84447162-aa55cc00-ac1d-11ea-85d4-3c3bd45aa654.png)
## 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)