Background

The Back-End project challenge is to create an API that sync contacts from MockAPI to Mailchimp. Trio suggested implementing the project with Java, as it's the language I have the most experience with, but I will implement it in Golang, as a challenge.

Objectives

The API will cover the following objects:

{
	"syncedContacts": 1, // total synced contacts
  "contacts": [
		{
			"firstName": "Amelia",
			"lastName": "Earhart",
      "email": "[email protected]",
		},
	]
}

Technical Design

First of all, I started to studing the Mailchimp API, witch I didn't have any experience. So to complete the chalenge to add the email in a list, I found all these API's that I must to use to code the project.

I decided to use Golang as programming language, Gin as HTTP WebServer and AWS API-Gateway and Lambdas, for a serverless deploy. To deploy the HTTP Server I used the https://render.com, witch was very simple to deploy the Golang Server.