backend api for getticked.com
To get server up running locally follow these steps:
-
Install go >=1.19 by following the steps here
-
Preferably use JetBrains GoLand and open this project as it simplifies this entire process
for vscode to solve go module error
go work init go work use ./email-service ./todoassistant.api ./listener-srv/
-
Run
go get ./...inemail-service/listener-srv/cmd/api/&&todoassistant.api/directories to install the required go modules -
make sure RabitMQ is up and running on your localhost
-
Start the app by running
go run main.goinemail-service/listener-srv/cmd/api/&&todoassistant.api/directories in separate terminal. -
Head over to
http://localhost:2022/api/v1in your browser of choice and confirm that the page has loaded without any problems. -
Voilà! Happy coding! ✨