Make sure you have installed docker and docker compose. I recommended you to install docker desktop because it installed docker CLI and docker compose.
Run this command:
docker compose up --build
To stop the program you can press ctrl+c
After that run this command:
docker compose down --remove-orphans --volumes
Run manually
Make sure you have golang installed in your device. If not you can follow instruction here
You can install postgres in your device or you can install docker to run the postgres container (recommended)