---
# System prepended metadata

title: Backend Test

---

# Backend Test

Build a REST-api for a message board where it's possible to:
- post a new message, linked to a name
- delete a message
- reply to a message
- (optional) edit a message

You should use the Go programming language for this assignment.

**Datastore:**
It's up to you how you store the data, it can be as simple as a temporary array or a more sophisticated data storage option.

If needed here is a `docker-compose.yaml` for a postgreSQL database:
```
version: '3'
services:
    mydb:
        image: "postgres:11"
        ports:
            - "5432:5432"
        environment:
            TZ: "Europe/Stockholm"
            POSTGRES_USER: "postgres"
            POSTGRES_PASSWORD: "postgres"
            POSTGRES_DB: "chaintraced"
        networks:
            - default
```

**Authentication:**
Weather you want autentication or not is up to you, just be ready to motivate your choice in relation to this assignment.

**Suggestions:**
Apart from looking at the functionality of the application, we also appricate code cleanliness and inclusion of a Dockerfile for a role such as this.

Consider testing your code at core components/functionalities.

Make sure to include a good README with instructions on how to run, test and build the project.

**Note:**
The goal of this assignment isn't for you to make the most technical advanced piece of program you can make. It's okay to take shortcuts given that time you are expected to spend on this, just be aware of them and ready to motivate you choices.

The recommended way to supply the code is via Github