{"id":20982899,"url":"https://github.com/netodeolino/cars-trace-ms","last_synced_at":"2026-04-27T06:33:48.209Z","repository":{"id":58459787,"uuid":"532008640","full_name":"netodeolino/cars-trace-ms","owner":"netodeolino","description":"Cars route data microservice","archived":false,"fork":false,"pushed_at":"2022-09-17T13:06:16.000Z","size":95,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-01T01:14:00.773Z","etag":null,"topics":["csv-reader","golang","microservice","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Go","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/netodeolino.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}},"created_at":"2022-09-02T16:52:20.000Z","updated_at":"2022-09-08T23:34:02.000Z","dependencies_parsed_at":"2023-01-18T13:30:17.303Z","dependency_job_id":null,"html_url":"https://github.com/netodeolino/cars-trace-ms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/netodeolino/cars-trace-ms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netodeolino%2Fcars-trace-ms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netodeolino%2Fcars-trace-ms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netodeolino%2Fcars-trace-ms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netodeolino%2Fcars-trace-ms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netodeolino","download_url":"https://codeload.github.com/netodeolino/cars-trace-ms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netodeolino%2Fcars-trace-ms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32326110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["csv-reader","golang","microservice","postgresql"],"created_at":"2024-11-19T05:47:04.443Z","updated_at":"2026-04-27T06:33:43.201Z","avatar_url":"https://github.com/netodeolino.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WIP: Cars trace microservice\n\n### Data example\n\n| carId  |   latitude |  longitude | operator | stopped | lineId |\n|--------|-----------:|-----------:|:--------:|:-------:|:------:|\n| c7831s | -17.167034 | -40.390721 |   o152   |    0    |  l171  |\n| c7832s | -17.509504 | -40.491718 |   o252   |    0    |  l172  |\n| c7833s | -17.167034 | -40.390721 |   o352   |    1    |  l173  |\n\n\n### Database (Postgres)\n\nUsing command line (may need admin privileges) run the follow commands:\n\n1. Create volume\n\n```shell\ndocker volume create --name=postgresdata\n```\n\n2. Pull/Run postgres pointing to the volume created before and exposing 5432 port\n\n```shell\ndocker run --name postgres-db -v postgresdata:/data/db -e POSTGRES_PASSWORD=developer -p 5432:5432 -d postgres\n```\n\n3. (Optional) Create database\n\n```sql\nCREATE DATABASE cars;\nGRANT ALL PRIVILEGES ON DATABASE cars TO postgres;\n```\n\n#### Requirements\nDownload and install required tools:\n- Go 1.19\n- Docker (can use [rancher-desktop](https://rancherdesktop.io/))\n- IDE\n- DBeaver (Optional)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetodeolino%2Fcars-trace-ms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetodeolino%2Fcars-trace-ms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetodeolino%2Fcars-trace-ms/lists"}