Chat application using Go, Websocket, Graphql, Clean Architecture
- Go
- gqlgen for Graphql in Go
- Clean Architecture
You have to install redis in local or using docker to run this
make install-tools
to install toolsmake serve
to run the app
Currently there not yet Frontend side for this app yet. You can check by using Graphql tools like https://www.postman.com/ or https://insomnia.rest/ Or just browse directly to localhost:8080/ and play with the playground
name | meaning |
---|---|
FIREBASE_CREDENTIALS | Firebase credentials, can get when register Firebase and convert to json string |
DATASOURCE_HOST | database host |
DATASOURCE_USER | database user |
DATASOURCE_PASS | database chat |
DATASOURCE_PORT | database pass |
DATASOURCE_DATABASE | database name |
DEBUG_USER_ID | firebase debug user id |
CORS_ALLOWED_ORIGINS | allowed cors host |
PORT | port |
- Create Frontend