go-pusher-chat-widget
This is a demo of a real-time chat widget powered by Go and Pusher Channels. You can read about how it was created on Pusher's blog.
Prerequisites
- An IDE of your choice e.g. Visual Studio Code.
- Go installed on your computer.
- Basic knowledge of GoLang.
- Basic knowledge of JavaScript (ES6 syntax).
- Basic knowledge of using a CLI tool or terminal.
- Pusher application. Create one here.
Getting Started
To get started with the project, make sure you have all the prequiisites above.
- Clone the project to your machine.
- Update the Pusher keys in the chat.go, app.js and support.js files.
- Run the command:
$ go get github.com/pusher/pusher-http-go
- Run the command:
$ go run chat.go
- Visit http://localhost:8070 to see application in action.