{"id":21643932,"url":"https://github.com/application-research/storage-market-api","last_synced_at":"2026-05-04T15:38:05.521Z","repository":{"id":104227178,"uuid":"579821170","full_name":"application-research/storage-market-api","owner":"application-research","description":"data layer","archived":false,"fork":false,"pushed_at":"2023-08-11T06:09:18.000Z","size":147,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-19T08:49:21.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/application-research.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-19T02:22:12.000Z","updated_at":"2023-03-29T05:25:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ecb29a8-881f-4a0a-9151-d34fb5ee5f9d","html_url":"https://github.com/application-research/storage-market-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/application-research/storage-market-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fstorage-market-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fstorage-market-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fstorage-market-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fstorage-market-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/application-research","download_url":"https://codeload.github.com/application-research/storage-market-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fstorage-market-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32613902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-25T05:36:57.837Z","updated_at":"2026-05-04T15:38:05.487Z","avatar_url":"https://github.com/application-research.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STORAGE_MARKET_API\n\ndocs: https://data.storage.market\n\nTo run it, you need to connect to our intelligence database (prod only). You can make your own though we won't stop you.\n\n```\nDOCUMENT_DATABASE_NAME=xxxx\nDOCUMENT_DATABASE_USERNAME=xxxx\nDOCUMENT_DATABASE_HOST=xxxx\nDOCUMENT_DATABASE_PORT=5432\nDOCUMENT_DATABASE_PASSWORD=xxxx\nIEX_CLOUD_PUBLIC_KEY=xxxx\n```\n\n### Running a local Development Database\n\nA docker file is provided to make it easy to set up a local development database for testing.\nTo do this,\n\n1. Ensure you have Docker installed and running\n2. Run the db start script `.dev/start.sh`\n3. Source the environment file, which will cause the app to connect to the dev db, `source .dev/dev.env`\n\nYou can stop the dev db by running `.dev/stop.sh`\n\n#### Purging the dev DB\n\nDB tables will be persisted via a docker volume. You can purge all tables/data from the dev db by running\n\n1. `.dev/purge.sh`\n2. `.dev/start.sh` (re-creates container)\n3. `.dev/start.sh` (run it a second time to start it up)\n\n### Setup (MacOS)\n\nOnce you have environment variables specified, run the server\n\n```sh\nnpm install\nnpm run dev\n```\n\n### Scripts\n\nIf you need to run node script without running the server, use this example to get started\n\n```sh\n# creates the tables you need\nnpm run script create\n\n# updates the tables\nnpm run script update\n\n# scans for database, typically a daily cron job\nnpm run script scan\n\n# analysis, typically a daily cron job.\nnpm run script analysis\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Fstorage-market-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplication-research%2Fstorage-market-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Fstorage-market-api/lists"}