{"id":18338804,"url":"https://github.com/tableflip/landexplorer-api","last_synced_at":"2025-04-09T20:36:01.033Z","repository":{"id":72910800,"uuid":"76569929","full_name":"tableflip/landexplorer-api","owner":"tableflip","description":":world_map: A graphql api for the landexplorer data","archived":false,"fork":false,"pushed_at":"2017-01-14T21:24:23.000Z","size":18992,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T12:46:47.749Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://landexplorer.uk/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tableflip.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-15T15:07:10.000Z","updated_at":"2024-11-23T17:48:31.000Z","dependencies_parsed_at":"2023-05-26T01:15:15.779Z","dependency_job_id":null,"html_url":"https://github.com/tableflip/landexplorer-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Flandexplorer-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Flandexplorer-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Flandexplorer-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Flandexplorer-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tableflip","download_url":"https://codeload.github.com/tableflip/landexplorer-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248108447,"owners_count":21049135,"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":"2024-11-05T20:15:31.981Z","updated_at":"2025-04-09T20:36:01.016Z","avatar_url":"https://github.com/tableflip.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# landexplorer-api\n:world_map: A graphql api for the landexplorer data.\n\n**Installing \u0026 Running the server**\n\nRun the following commands to install and start the service\n\n```sh\nnpm install \u0026\u0026 npm start\n```\n\n**Usage**\n\nFor working with the API you can start a dev server that will restart the server after changes using:\n\n```\nnpm run watch\n```\n\nThere is a graphical interface that you can use to test your queries. visit [localhost:8080/graphiql](http://localhost:8080/graphiql) and type in the following:\n\n```\n{\n  inspireId(lng: \"-1.25390\", lat: \"51.76110\")\n}\n```\nThe service will return your inspireId for that lng lat\n```\n{\n  \"data\": {\n    \"inspireId\": \"27567047\"\n  }\n}\n```\n\n**Running the tests**\n\nTo run the tests you will need to create a database in postgres like this:\n\n`CREATE DATABASE inspire_tests;`\n\nThen connect to `inspire_tests` database using `\\connect inspire_tests;`\n\nNow extend the schema definition of inspire_tests to include geometry by using:\n\n`CREATE EXTENSION postgis;`\n\nTo seed the database requires you to have GDAL installed with a Postgres driver\n\n`brew install gdal --with-postgresql`\n\nYou can then seed the database by Running\n\n```\nnpm run seed\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Flandexplorer-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftableflip%2Flandexplorer-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Flandexplorer-api/lists"}