{"id":29642157,"url":"https://github.com/olehdevua/weather-aggregator","last_synced_at":"2025-10-24T09:48:14.774Z","repository":{"id":304143727,"uuid":"1017893193","full_name":"olehdevua/weather-aggregator","owner":"olehdevua","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-11T09:28:33.000Z","size":260,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-11T12:38:21.056Z","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/olehdevua.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,"zenodo":null}},"created_at":"2025-07-11T09:06:48.000Z","updated_at":"2025-07-11T09:28:36.000Z","dependencies_parsed_at":"2025-07-11T12:38:24.217Z","dependency_job_id":"6cc5ca4d-34d0-4bbc-b453-3c2ee75325c6","html_url":"https://github.com/olehdevua/weather-aggregator","commit_stats":null,"previous_names":["olehdevua/weather-aggregator"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/olehdevua/weather-aggregator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olehdevua%2Fweather-aggregator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olehdevua%2Fweather-aggregator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olehdevua%2Fweather-aggregator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olehdevua%2Fweather-aggregator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olehdevua","download_url":"https://codeload.github.com/olehdevua/weather-aggregator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olehdevua%2Fweather-aggregator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266388035,"owners_count":23921386,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-07-21T22:07:33.302Z","updated_at":"2025-10-24T09:48:09.750Z","avatar_url":"https://github.com/olehdevua.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Structure of backend app\n\n* `__tests__` - e2e tests\n* `core` - core services like auth/logger/db-connector\n* `lib` - utils\n* `servers` - server specific logic to run it\n* `weather` - `weather` service, contains business logic and controllers\n* `index.ts` - entry point for app\n* `run.ts` - run servers\n\n\n## Project setup\n\n```bash\ndocker compose up --build\n```\n\nFrontend available on \"http://localhost:3000\"\nBackend available on \"http://localhost:3001\"\nYou can configure ports in `docker-compose.yaml` `portj` parameter\n\nTo configure the Backend app settings, use env variables.\nYou can modify them in `docker-compose.yaml`\n`weather-change-aggregator.environment` parameter.\n\n| Env var name       | Env var default value                         |\n|:-------------------|:----------------------------------------------|\n| `WA_WS_URL`        | `\"ws://weather-stream-simulator:8765\"`        |\n| `WA_HTTP_PORT`     | `3000`                                        |\n| `WA_HTTP_HOSTNAME` | `\"0.0.0.0\"`                                   |\n| `WA_MONGODB_URL`   | `\"mongodb://mongo/weather-change-aggregator\"` |\n| `WA_LOGGER_LEVEL`  | `\"info\"`                                      |\n| `WA_SYNC_MS`       | `20000`                                       |\n\n\n## Run backend tests\n\n```bash\ndocker compose up -d --build mongo\ncd ./weather-change-aggregator\nnpm run test:e2e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folehdevua%2Fweather-aggregator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folehdevua%2Fweather-aggregator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folehdevua%2Fweather-aggregator/lists"}