- open a terminal
- git clone https://github.com/HiteshRepo/ports_processor.git
- cd ports_processor
- go mod download
- go mod tidy
- Please follow: https://taskfile.dev/installation/
- All tests: task test
- Only Integration test: task:integration
- Command to run app:
task run:local
- Verify:
- connect to postgres instance with these details:
- Username: postgres
- Password: mysecretpassword
- Host: 127.0.0.1/localhost
- Port: 8888
- DBName: ports_db
- run the query:
select * from ports;
- connect to postgres instance with these details: