Skip to content

An interactive map that shows crime information and statistics in the UK

Notifications You must be signed in to change notification settings

sClarkeDev/uk-police-map

Repository files navigation

UK Police Map

An interactive map that shows crime information and statistics in the UK

https://uk-police-map.pages.dev

Table of Contents

Technologies Used

  • React
  • Next JS
  • Zustand
  • Leaflet | React Leaflet
  • MapBox

Features

  • Latest crime location and information
  • Local force & neighbourhood information
  • Search for crimes by location

Local Development

  1. Step 1 - Install dependencies
$ yarn install
  1. Step 2 - Add env variables

    • Create a .env.local file in the root directory
    • Add both MAPBOX_ACCESS_TOKEN and NEXT_PUBLIC_MAPBOX_GEOCODING_ACCESS_TOKEN variables
  2. Step 3 - Run development server

$ yarn dev