This is a simple project designed to study and improve skills in the GoLang language.
This project is a simple Contact Rest API
End Points
| Method | Endpoint | Description |
|---|---|---|
| GET | /contacts | Gets all contacts |
| GET | /contacts/{id} | Get contact search by id |
| POST | /contacts | Create an contact from request body |
| DELETE | /contacts/{id} | Delete an contact by id |
Request Exemple
{
"name": "Thomas",
"email": "thomas@teste.com",
"phone_number": "98888-8888"
}Clone this project.
$ git clone git@github.com:Thomas-Matheus/contacts.gitInstall dependencies
$ go installCompile project
$ go buildGoals
- Go report A+
- Code coverage 100%
- Makefile
- Docker