*This version of the microservice attempts requires a postgres database to connect to.
This version of the microservice only fakes the response to the API calls. It is only used as a means for me to learn how to deploy a service in AWS without having to deal with the complexity of running a database.
- Go programming language installed
- Go path configured
- Postgres installed (running on port 5432)
- Postman to test API calls
- AWS Postman API Calls: https://documenter.getpostman.com/view/1598740/collection/7LjDkFS
- Local Postman API Calls: https://documenter.getpostman.com/view/1598740/collection/7LjDkFV
- Install Go
- Setup your Go Workspace (e.g. setup $GOPATH)
- Run: go get github.com/jorgeastorga/contactservice
- Navigate to: dev/go-workspace/src/github.com/jorgeastorga/contactservice
- Run: go install
- Run: contactservice
Note: I won't go into the details of steps #1 and #2 as those are platform-dependent and can be explained elsewhere in more detail.