- Install Go (v1.17.2)
- Install Postgres (v13 or v14)
go mod tidyto install dependencies- Install Elasticsearch (v8.2.0)
To run the api go run . in the root of the project.
- Runs on port
8080
Available routes are:
- GET
/employees?ssn=<exact ssn>returns a single employee - GET
/tasks?name=<partial/full name>returns a list of tasks - GET
/tasks/:id/employeesreturns a list of employees