Player Service
A backend service for game player accounts and save data, with a documented REST API, built as shared infrastructure for Webitz Games projects.
- Status
- Complete (2023)
- Role
- Co-developed at Webitz Games
- Built with
- Go, MongoDB, Swagger, Docker, Jenkins
Player Service is a small backend that games can share for their player data: creating accounts, logging in, and saving and loading each player’s game data.
How it’s built
- API: Go with go-restful, split into one handler per operation (create, log in, get data, save data, update, delete).
- Docs: a Swagger spec generated from the code, so the API reference stays in sync with what the service actually does.
- Data: MongoDB for player records and saves, with sessions handled in their own package.
- Delivery: Docker and Docker Compose for local runs, and a Jenkins pipeline for builds.