{"id":25322393,"url":"https://github.com/checkernetwork/spark-deal-observer","last_synced_at":"2025-07-21T05:04:55.138Z","repository":{"id":272618177,"uuid":"868928625","full_name":"CheckerNetwork/spark-deal-observer","owner":"CheckerNetwork","description":"A near-real-time database of active FIL+ deals","archived":false,"fork":false,"pushed_at":"2025-07-16T07:32:33.000Z","size":777,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T10:33:06.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CheckerNetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-07T12:32:23.000Z","updated_at":"2025-07-16T07:32:37.000Z","dependencies_parsed_at":"2025-01-15T17:02:22.622Z","dependency_job_id":"0cf62858-829a-450a-8bbc-14ef5acb07cb","html_url":"https://github.com/CheckerNetwork/spark-deal-observer","commit_stats":null,"previous_names":["filecoin-station/deal-observer","checkernetwork/deal-observer","checkernetwork/spark-deal-observer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CheckerNetwork/spark-deal-observer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckerNetwork%2Fspark-deal-observer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckerNetwork%2Fspark-deal-observer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckerNetwork%2Fspark-deal-observer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckerNetwork%2Fspark-deal-observer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CheckerNetwork","download_url":"https://codeload.github.com/CheckerNetwork/spark-deal-observer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckerNetwork%2Fspark-deal-observer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266242072,"owners_count":23898102,"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":"2025-02-13T23:40:39.746Z","updated_at":"2025-07-21T05:04:55.122Z","avatar_url":"https://github.com/CheckerNetwork.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deal-observer\n\nA near-real-time database of active FIL+ deals\n\n### [api/](./api/)\n\nPublic REST API exposing info about FIL+ deals.\n\n### [backend/](./backend/)\n\nPrivate singleton observing built-in actor events and maintaining the database\nof FIL+ deals\n\n### [db/](./db/)\n\nShared component providing helpers to access the database, including database\nschema migration scripts.\n\n## Deployment\n\nAll commits pushed to the `main` branch are automatically deployed to Fly.io by\na GitHub Actions workflow.\n\nTo deploy the changes manually, run the following command from the **monorepo\nroot directory**:\n\n```bash\nfly deploy -c api/fly.toml\nfly deploy -c backend/fly.toml\n```\n\n## Testing\n\nTo run the tests for this repository you will first need to setup a PostgreSQL\ndatabase.\n\nYou can do this by running a PostgreSQL docker container with the following\ncommand:\n\n```bash\ndocker run -d --name spark-db \\\n-e POSTGRES_HOST_AUTH_METHOD=trust \\\n-e POSTGRES_USER=$USER \\\n-e POSTGRES_DB=$USER \\\n-p 5432:5432 \\\npostgres\n```\n\nAfterwards, you need to create the database `spark_deal_observer` by running the\nfollowing command:\n\n```bash\npsql postgres://$USER@localhost/$USER -c 'CREATE DATABASE spark_deal_observer'\n```\n\nFinally, you can run the tests:\n\n```\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckernetwork%2Fspark-deal-observer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheckernetwork%2Fspark-deal-observer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckernetwork%2Fspark-deal-observer/lists"}