Queries the Indeed API and puts the data in an elastic instance that is assumed to be running on your localhost. The description below has information on the details of making this happen.
See below for additional setup options (Docker)
docker-compose --file docker/docker-compose-dependencies.yml up
creates Elasticsearch and Kibana linked Docker containers. bin/index-create.sh
this will setup an elastic index called jobs.. bin/mongo-config-create.sh
will create the initial job scraping configuration
Please note that this will expose the following ports on your host:
- 9200 - Default port for the Elastic API
- 9300 - Communication channel between Elastic and Kibana
- 5601 - Default port for the Kibana service
- 27017 - Mongo
You must first create an index by running the following script: ``
So there are a couple different ways to seed the data. You can import this project into intellij or Eclipse and run the main line (com.labs1904.jobs.watch.App). Right now the api key is hard coded along with the indeed api, it also assumes the elastic endpoint is configured to hit the ports suggested above. There are plans to provide all of this via configuration or service discovery.
- Install eclipse.
- right click in package explorer -> import.
- Existing maven projects
- Browse to
<jobswatcher>
- right click on pom.xml -> run as : mvn clean
- right click on pom.xml -> run as : mvn install
- right click on App.java -> run as : java Application
Still under development, jobswatcher does not wait for healthy elk, or an index to have been created
mvn clean package
cd docker
docker-compose build
docker-compose up
See above Elasticsearch & Kibana setup
mvn clean package
docker-compose --file docker/docker-compose-jobswatcher.yml build
docker-compose --file docker/docker-compose-jobswatcher.yml up
docker-compose --file docker/docker-compose.yml build
docker-compose --file docker/docker-compose.yml up
When you ran the docker command above that should have populated a kibana index called jobs. If you have elastic and kibana running you can travel to the kibana homepage. There you will be asked to provide a default index. Put in jobs and you should be able to browse the data.