This a web app that allows users to visualise all the recent crimes commited in a certain area in the UK, (Not including Scotland or Northen Ireland), using the Mapbox API and the React Map GL.
This project also made use of the UK Police DATA API which means that all the data coming back from this API is UK ONLY and does not include SCOTLAND OR NORTHEN IRELAND
License: MIT
I plan on making some minor inprovements to the web as it seems to be all mainly done. Some major issues that needs fixing are:
- Fix dropdown list not updating state on change
- Major lags issues especially on older machines or when there are more than 500 markers on the screen at once
- Some design improvements
Once all the improvements have been made on the web app, I will start working on this app with React Native so it can be developed for iOS and Andriod respectively.
You will need to create an .env.local
file in the head of the directory. In the file put REACT_APP_MAPBOX_TOKEN=
followed by a Mapbox API token. You can do this by heading to mapbox and signing up there.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment