A collaborative web based plain text editor with a server written in Go.
My first project in Golang!
Translated from my Node version here. Using socket.io, go-socket.io, mgo, Ace text editor and Bootstrap.
Install Go
Now install Go packages:
go get -d ./...
git clone https://github.com/dyang108/go-code-together.git
cd go-code-together
Install npm
Now install node modules:
npm install -g nodemon
npm install
(will watch server and client files, not sure if the reload is perfect for server)
mongod
npm test
mongod
npm start
- Compile and run code
- Actually deal with concurrent access to sockets