This repository contains the answers to the backend developer internship test at Scafol. In this test, I used the Go programming language using GORM, Mux, MySql
From the questions given, there are three requirements, namely
- Create a discussion
- See all the existing discussions
- View any of the discussions
therefore there are three endpoints
- / api / discussions -> [POST] to create new discussions
- / api / discussions -> [GET] to see all existing discussions
- / api / discussions / {id} -> [GET] to view a discussion