Skip to content

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.

License

Notifications You must be signed in to change notification settings

sjohnston00/React-Mapbox-UK-Crime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UK Crime Visualiser

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

Future Plans

Web App

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:

  1. Fix dropdown list not updating state on change
  2. Major lags issues especially on older machines or when there are more than 500 markers on the screen at once
  3. Some design improvements

Mobile App

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.


Prerequisites

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.

Available Scripts

In the project directory, you can run:

npm start

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.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

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.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published