{"id":30659038,"url":"https://github.com/madmatvey/geojson-locations-api","last_synced_at":"2026-04-13T21:31:18.467Z","repository":{"id":42603283,"uuid":"212965900","full_name":"madmatvey/geojson-locations-api","owner":"madmatvey","description":"GeoJSON with Rails PostgreSQL and PostGIS","archived":false,"fork":false,"pushed_at":"2023-01-19T15:11:00.000Z","size":90,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-31T12:34:06.671Z","etag":null,"topics":["api","postgis","postgresql","rails","ruby"],"latest_commit_sha":null,"homepage":"https://geojson-rails.herokuapp.com/","language":"Ruby","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/madmatvey.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":"2019-10-05T08:13:44.000Z","updated_at":"2024-10-29T05:15:32.000Z","dependencies_parsed_at":"2023-01-28T19:46:00.354Z","dependency_job_id":null,"html_url":"https://github.com/madmatvey/geojson-locations-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/madmatvey/geojson-locations-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madmatvey%2Fgeojson-locations-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madmatvey%2Fgeojson-locations-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madmatvey%2Fgeojson-locations-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madmatvey%2Fgeojson-locations-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madmatvey","download_url":"https://codeload.github.com/madmatvey/geojson-locations-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madmatvey%2Fgeojson-locations-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31771795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"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":["api","postgis","postgresql","rails","ruby"],"created_at":"2025-08-31T12:24:21.396Z","updated_at":"2026-04-13T21:31:18.454Z","avatar_url":"https://github.com/madmatvey.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeoJSON with Rails PostgreSQL and PostGIS 📐🌍🔍\n\n## API-only Ruby on Rails app.\n\nThe goal of the application is to determine whether an incoming geographical Location is inside at least one of the given areas.\n\n### Source code\n\n[github.com/madmatvey/geojson-locations-api](https://github.com/madmatvey/geojson-locations-api)\n\n### Code status\n\n[![CircleCI](https://circleci.com/gh/madmatvey/geojson-locations-api/tree/master.svg?style=svg\u0026circle-token=096539165698bd02eda4714a1beea5b468e12131)](https://circleci.com/gh/madmatvey/geojson-locations-api/tree/master) [![Coverage Status](https://coveralls.io/repos/github/madmatvey/geojson-locations-api/badge.svg?branch=master)](https://coveralls.io/github/madmatvey/geojson-locations-api?branch=master)\n\n### API endpoints\n\n`GET /api/v1/areas` fetch list of the given areas in GeoJSON format\n\n`POST /api/v1/locations` create a location\n      IN: location name (text)\n      OUT: ID of created location\n\n`GET /api/v1/locations/:id` fetch location by ID\n      IN: Location ID\n      OUT: Location name, coordinates, inside? (true/false)\n\n### Setup environment\n\n- **Ruby 2.5.0**\n\n   It is recommended to use [rbenv](https://github.com/rbenv/rbenv) with [ruby-build](https://github.com/rbenv/ruby-build) and then run\n\n   `$ rbenv install 2.5.0`\n\n- **Bundler**\n\n  `$ gem install bundler`\n- **[Overmind](https://github.com/DarthSim/overmind)** to run processes from Procfile in dev.\n\n  ```\n  $ brew install tmux\n  $ brew install overmind\n  ```\n\n- **Postgres 9.6 and Postgis 2.5**\n  [install with Clover Health's Homebrew Tap](https://github.com/CloverHealth/homebrew-tap#installing-postgres-96-and-postgis-25)\n\n\n### Setup project\n```\n$ bundle\n$ rails db:create\n$ rails db:gis:setup\n$ rails db:migrate\n$ rails db:seed\n```\n\n### To run app in development\n\n```\n$ overmind start\n```\n\nAnd open url: [localhost:3333](http://localhost:3333)\n\n\n### To run the test suite\n\n```\n$ bundle exec rspec\n```\n\n### Deployment instructions\n\nApplication will [deploy to Heroku with CircleCI](https://circleci.com/docs/2.0/deployment-integrations/#heroku) automaticaly when all RSpec tests are green and code coverage 100% in master branch.\n\nForks can setup Heroku manually and deploy with:\n\n```\n$ git push heroku master\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadmatvey%2Fgeojson-locations-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadmatvey%2Fgeojson-locations-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadmatvey%2Fgeojson-locations-api/lists"}