{"id":20727784,"url":"https://github.com/plippe/java-stock-fetcher","last_synced_at":"2025-03-11T09:23:29.378Z","repository":{"id":22713254,"uuid":"26057474","full_name":"plippe/java-stock-fetcher","owner":"plippe","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-29T20:49:03.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T23:43:59.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plippe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"plippe"}},"created_at":"2014-11-01T17:23:48.000Z","updated_at":"2022-09-29T21:10:23.000Z","dependencies_parsed_at":"2023-01-11T21:44:15.226Z","dependency_job_id":null,"html_url":"https://github.com/plippe/java-stock-fetcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plippe%2Fjava-stock-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plippe%2Fjava-stock-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plippe%2Fjava-stock-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plippe%2Fjava-stock-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plippe","download_url":"https://codeload.github.com/plippe/java-stock-fetcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243005224,"owners_count":20220441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T04:34:09.012Z","updated_at":"2025-03-11T09:23:29.350Z","avatar_url":"https://github.com/plippe.png","language":"Java","funding_links":["https://github.com/sponsors/plippe"],"categories":[],"sub_categories":[],"readme":"# Java Stock Fetcher\nThis project contains multiple Akka services that request stock values from\nYahoo and stores them in a database. Most of the logic is divided to be imported\nvia Maven and reused in another project.\n\n### Running the application\nThis project currently uses a postgres database. The easiest way to get setup is\nby running the following docker command. It will spin up a postgres instance,\nset the appropriate credentials, and create the tables.\n\n```bash\ndocker run \\\n  --name java-stock-fetcher-postgres \\\n  --env POSTGRES_USER=admin \\\n  --env POSTGRES_PASSWORD=admin \\\n  --env POSTGRES_DB=secret \\\n  --publish 5432:5432 \\\n  --volume $PWD/store/sql:/docker-entrypoint-initdb.d \\\n  --detach \\\n  postgres\n```\n\nOnce your database is up and running, you will need to start the different akka\nsystems.\n\n```bash\nmvn install\n\nmvn exec:java -pl store_akka\nmvn exec:java -pl market_provider_akka\nmvn exec:java -pl dispatcher_akka\n```\n\nThis should download the value of the symbols found in `dispatcher_akka`'s\n`application.conf` every minute.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplippe%2Fjava-stock-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplippe%2Fjava-stock-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplippe%2Fjava-stock-fetcher/lists"}