Follow along of the book Let's Go Further
We are building a Movie database API.
mkdir tls
cd tls
go run /usr/local/go/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost
Instead of using Mailtrap
, we will just run a MailHog
container.
docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog
We change the config to point the host to localhost
and port to 1025
docker compose up -d