This is the first Go Hello World program.
It's a basic Go Hello World application that connects to a Postgres database. You can start the Postgres database using the Docker Compose file present in the docker folder.
We're using the Echo Library to start the server. You can find the server code in the file server.go located in src/server.
Additionally, we're using GORM to create the database client. You can find the database client code in the file client.go located in src/database.
To start the application, run the following command from the main directory of the application:
go run src/main.go
![image](https://private-user-images.githubusercontent.com/14228896/317939216-ac53db46-7fe8-4149-a900-3132797e09fc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4MjUwNzgsIm5iZiI6MTcyMzgyNDc3OCwicGF0aCI6Ii8xNDIyODg5Ni8zMTc5MzkyMTYtYWM1M2RiNDYtN2ZlOC00MTQ5LWE5MDAtMzEzMjc5N2UwOWZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE2VDE2MTI1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2Y2Y2NDEyNjQwNDdmYjA0MTIyYTIyMmUxOWM1ZjQzYTFmOWE3YWViOTJlMmU5ZDg4ZDE4N2NiYzdiY2I0ZTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.y7VmpruaHsjTMI9Yy96PHnXJ3DwVdKbgyUu-aRsGoHs)
HealthCheck
![image](https://private-user-images.githubusercontent.com/14228896/317935897-0ef1f5cb-7267-4fcd-be60-7514a2040ad0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJn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