{"id":22358075,"url":"https://github.com/codewritingcow/hrnyc20-mvp-map-app","last_synced_at":"2025-03-26T13:25:05.917Z","repository":{"id":40950847,"uuid":"176322405","full_name":"CodeWritingCow/hrnyc20-mvp-map-app","owner":"CodeWritingCow","description":"Interactive online map of gun homicides in New York City","archived":false,"fork":false,"pushed_at":"2024-01-09T17:23:44.000Z","size":18817,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T14:45:52.746Z","etag":null,"topics":["guns","heroku","homicide","javascript","leaflet","maps","nyc","nyc-opendata"],"latest_commit_sha":null,"homepage":"https://nyc-gun-homicide-map.herokuapp.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeWritingCow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-18T16:05:38.000Z","updated_at":"2022-02-18T01:27:51.000Z","dependencies_parsed_at":"2022-09-01T13:51:34.359Z","dependency_job_id":null,"html_url":"https://github.com/CodeWritingCow/hrnyc20-mvp-map-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWritingCow%2Fhrnyc20-mvp-map-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWritingCow%2Fhrnyc20-mvp-map-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWritingCow%2Fhrnyc20-mvp-map-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWritingCow%2Fhrnyc20-mvp-map-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeWritingCow","download_url":"https://codeload.github.com/CodeWritingCow/hrnyc20-mvp-map-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245660810,"owners_count":20651805,"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":["guns","heroku","homicide","javascript","leaflet","maps","nyc","nyc-opendata"],"created_at":"2024-12-04T14:17:21.950Z","updated_at":"2025-03-26T13:25:05.890Z","avatar_url":"https://github.com/CodeWritingCow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![NYC Gun Homicide Map Screenshot](https://github.com/CodeWritingCow/hrnyc20-mvp-map-app/blob/master/screenshot.gif)\n\n\n# NYC Gun Homicide Map\nThis repository contains the source for a Leaflet.js [map](https://nyc-gun-homicide-map.herokuapp.com/) displaying locations of gun homicides in New York City for the current year.\n\nEach map marker contains an incident date, location and demographic information of victim and suspect. Data comes from an NYPD dataset on shooting incidents.\n\nA dropdown menu allows users to display gun homicides by year (2006 to present).\n\nThe repository also contains the code for a Node.js server, which fetches incident data from the Socrata Open Data API. The server then returns the data to the map. The live server is hosted on Heroku.\n\nThis map was a MVP project for Hack Reactor NYC Cohort 20.\n\n## Requirements\n\n#### External API Key\n\n- This project uses Socrata Open Data API to access the city's dataset. To get an API key, visit: https://dev.socrata.com/docs/app-tokens.html\n- A Socrata account is required to get an API key. To open an account, sign up: https://opendata.socrata.com/signup\n\n#### Key Dependencies\n\n- [Node.js](https://nodejs.org/en/) with [Express.js](https://expressjs.com/) web framework\n- [Leaflet.js](https://leafletjs.com/) library for mobile-friendly interactive maps\n\n## TODO\n- When user clicks a marker, the app displays URLs to news stories related to the incident.\n\n## Author\n**Gary Pang** - [garypang.dev](https://garypang.dev)\n\n## References\n- [NYPD Shooting Incident Data (Year To Date) Public Safety](https://data.cityofnewyork.us/Public-Safety/NYPD-Shooting-Incident-Data-Year-To-Date-/5ucz-vwe8) from NYPD and [NYC Open Data](https://opendata.cityofnewyork.us/)\n- [Socrata Open Data API documentation](https://dev.socrata.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewritingcow%2Fhrnyc20-mvp-map-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewritingcow%2Fhrnyc20-mvp-map-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewritingcow%2Fhrnyc20-mvp-map-app/lists"}