Web app utilising the UK Police public crime API (https://data.police.uk/). Allows a user to view crime data for an area (within 1 mile of any UK postcode, or 1 mile of the location given via browser geolocation), and offers comparisons allowing a user to see trends and changes in crime within the area specified.
The user can compare the most recent month's crime statistics, broken down into categories based on the crimes committed, to the month prior or a specified month; the user can also compare the most recent month to an average of the 3 months prior. The app also provides a yearly comparison that averages the crimes committed for the data available for the current year and allows comparison to previous years.
YouTube demonstration providing an overview of the features: https://www.youtube.com/watch?v=iwf1tJdDMwc
Made using Vue (including Vuelidate and Vue-Router), JavaScript, HTML and CSS.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
npm install
npm run dev
npm run build
Lint with ESLint
npm run lint