Chat Backend

Create a WebSocket Server you own this product

This project is part of the liveProject series WebSocket-based Chat Backend in Go
basic Go • Gorilla WebSocket library
skills learned
creating a WebSocket server • using map as an in-memory store
Amit Saha
1 week · 4-6 hours per week · BEGINNER
filed under

placing your order...

Don't refresh or navigate away from the page.
liveProject This project is part of the liveProject series WebSocket-based Chat Backend in Go liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. Solve practical problems, write working code, and analyze real data—with liveProject, you learn by doing. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products. $20.99 $29.99 you save $9 (30%)
Create a WebSocket Server (liveProject) added to cart
continue shopping
go to cart

Look inside

In this liveProject, you’ll create the backend for a company support live chat feature using the WebSockets framework. This backend will form the foundation of a new customer service for your company. You’ll implement a backend that can receive requests from browsers and set up WebSocket connections between customers and support personnel. You’ll even preserve the chat histories.

In this video, Natan Streppel, a software engineer and frequent Manning partner, explains what he likes about this liveProject.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Amit Saha
Amit Saha is a software engineer at Atlassian, located in Sydney, Australia. He has written Practical Go: Building Scalable Network and Non-Network Applications (Wiley, 2021), Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More! (No Starch Press, 2015) and Write Your First Program (PHI Learning, 2013). His other writings have been published in technical magazines, conference proceedings, and research journals. He can be found online at


This liveProject is for Go programmers who are comfortable with the language’s basics. To begin this liveProject, you will need to be familiar with the following:

  • Basic Go
  • Basic Javascript, HTML, and CSS
  • Basic Gorilla WebSocket library

you will learn

In this liveProject, you’ll learn to use both the WebSocket standard library packages and a community-maintained package called Gorilla WebSocket to build a chat app backend. You’ll also embed HTML/JavaScript/CSS files into your application and create an HTTP server that will serve these files.

  • Create a WebSocket server
  • Use map as an in-memory store


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.