8000 GitHub - tareeko/tps-calls: Track the latest TPS service calls in the GTA. Built with React, Redux, styled-components & react-map-gl.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from rdrnt/tps-calls

Track the latest TPS service calls in the GTA. Built with React, Redux, styled-components & react-map-gl.

Notifications You must be signed in to change notification settings

tareeko/tps-calls

 
 

Repository files navigation

tps-calls

Real-time mapping of locations where the Toronto Police have responded to a call for service. These calls include incidents such as arrests, gun calls, collisions involving people or property, assaults, industrial accidents or disputes. Some calls for service will be, or are being, excluded for privacy reasons, including calls respecting domestic violence, sexual assault, or medical distress. Others calls may be excluded because they are part of an ongoing police operation.

Built with TypeScript, React, Redux, react-mapbox-gl & styled-components.

Contributions

I would love contributions! The TODO list below has more information on what I need help with.

When commiting, please try your best to use this format for your commit messages.

TODO

UI

  • Color code incidents
  • Geofencing (if an incident happens within x km the user will receive a push notifcation)
  • Add @TPSOperations related tweet to the selected incident. (Hint, there's an associated ID)

Building

  1. Create a .sentryclirc, .env, .npmrc at the root of the project

  2. (Building for production) In the `.sentryclirc, put:

[defaults]
project=getprojectnamefromowner
org=getorgfromowner
  1. In the .env, make sure you have the following keys:
REACT_APP_MAPBOX_API_KEY

REACT_APP_GANALYTICS_KEY

REACT_APP_SENTRY_DSN

PORT=8080
  1. In the .npmrc (required for types), put the following:
//npm.pkg.github.com/:_authToken=YOUR_GIVEN_TOKEN
@rdrnt:registry=https://npm.pkg.github.com

License

GPL-3.0 License.

About

Track the latest TPS service calls in the GTA. Built with React, Redux, styled-components & react-map-gl.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.7%
  • HTML 2.3%
0