Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.82 KB

README.md

File metadata and controls

42 lines (32 loc) · 1.82 KB

rps-backend Build Status

A funny microservice for playing rock-paper-scissors.

Technical details

The app is written in Go using the Gin framework.

CI/CD

On every git tag push, the GitHub Actions pipeline builds a new Docker image, pushes it to my Registry, which starts a rolling update across the Swarm deployment.

Development

Given Go's easy and light approach on build complexity, no specific environment needed, however I strongly recommend JetBrains GoLand.

Testing

Load testing is done with k6.
You can perform the test by running:

cd .k6
k6 run -e URL=<your host url> load_test.js

License

    rps-backend - Rock Paper Scissors backend
    Copyright (C) 2024  SunStorm

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published
    by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.