Skip to content

Introduction

The backend application of scrumlr.io targeted by the web client is written in go. Before contributing to the project, please make sure you have read the contributing guideline.

Note: make is already installed on MacOS but the version is smaller than the required version. Run brew install make to update make version to newest version

Before you can run the Scrumlr backend locally for development, you first need the following services to be running

  • a postgres database
  • a nats instance

For that you can use the provided docker compose files. To start the docker containers either run

Terminal window
make run-docker-dev

or

Terminal window
docker compose --profile dev up

After the container started, you can start the Scrumlr backend with.

Terminal window
cd src/
go run . --database "postgres://admin:supersecret@localhost:5432/scrumlr?sslmode=disable" --disable-check-origin --insecure

Please make sure to read the guidelines for the backend.

To run the tests locally run

Terminal window
make test

For more information about the tests refer to the testing documentation.

In the picture below is a high level overview of how Scrumlr works

Architecture

For a detailed overview of the backend read the architecture documentation.