{"id":16403718,"url":"https://github.com/coderdiaz/gasolinapp","last_synced_at":"2026-06-10T20:31:20.437Z","repository":{"id":107872693,"uuid":"140472567","full_name":"coderdiaz/gasolinapp","owner":"coderdiaz","description":"A NestJs backend application that shows fuel prices of all gas stations in Spain.","archived":false,"fork":false,"pushed_at":"2018-06-25T18:11:07.000Z","size":258,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"feature/stations","last_synced_at":"2025-02-23T17:33:18.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"stanete/gasolinapp","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderdiaz.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":"2018-07-10T18:28:44.000Z","updated_at":"2024-08-11T12:03:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b1b5d93-7837-4711-b98e-e1b4b8dba773","html_url":"https://github.com/coderdiaz/gasolinapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coderdiaz/gasolinapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderdiaz%2Fgasolinapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderdiaz%2Fgasolinapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderdiaz%2Fgasolinapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderdiaz%2Fgasolinapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderdiaz","download_url":"https://codeload.github.com/coderdiaz/gasolinapp/tar.gz/refs/heads/feature/stations","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderdiaz%2Fgasolinapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34170162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2024-10-11T05:50:14.528Z","updated_at":"2026-06-10T20:31:20.405Z","avatar_url":"https://github.com/coderdiaz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gasolinapp ⛽\n\n## Description\n\nA backend application created with [NestJs](https://nestjs.com/) and Typescript.\n\nThe app will fetch fuel prices of all gas stations from Spain, will map them to a more friendly entity and will store them into a database.\n\nThe app will provide fuel stations through an API depending on their location and filter fuel stations by fuel type.\n\n## Docs\n\nEvery response will have the same format:\n\n```js\n{\n  \"data\": [],\n  // or\n  \"data\": {},\n  // and aditional information like:\n  \"page\": 2\n}\n```\n\n### `GET /stations`\n\nAvailable stations that the client can ask for.\n\n| Query Param          | Type   | Description         |\n| -------------------- | ------ | ------------------- |\n| latitude \u0026 longitude | long   |                     |\n| query                | string | text to search for  |\n| fuelType             | int    | id of the fuel type |\n| page                 | int    |                     |\n\nThis example shows a response with all the available fields in a station:\n\n```js\n{\n  \"data\": [\n    {\n      \"id\": 53,\n      \"name\": \"Repsol\",\n      \"schedule\": \"L-D: 24H\",\n      \"postalCode\": \"01240\",\n      \"address\": \"CL MANISITU, 9\",\n      \"city\": \"Alegría-Dulantzi\",\n      \"state\": \"ÁLAVA\",\n      \"latitude\": 42.846028,\n      \"longitude\": -2.509361,\n      \"fuels\": [\n        {\n          \"type\": {\n            \"id\": 7,\n            \"name\": \"Gasoleo A\"\n          },\n          \"price\": 1.219\n        }\n      ]\n    }\n  ]\n}\n```\n\n### `GET /fuelTypes`\n\nAvailable fuel types with which the client can query the stations.\n\n```js\n{\n  \"data\": [\n    {\n      \"id\": 7,\n      \"name\": \"Gasoleo A\"\n    },\n    {\n      \"id\": 8,\n      \"name\": \"Gasolina 98\"\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderdiaz%2Fgasolinapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderdiaz%2Fgasolinapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderdiaz%2Fgasolinapp/lists"}