Giter Club home page Giter Club logo

uiuccrimemap's Introduction

Introduction

The goal of our project is to create a simple web application that displays crimes recorded on the University Police Daily Crime Log. Our goal is to provide members of the UIUC community with an easy way to identify areas where crimes are occuring so they can be avoided. We were initially inspired to do this because of the rise in Asian Hate Crimes occuring in neighborhoods we thought were safe. We wanted a way to bring awareness and promote safety in our communities and this seemed like the best way to do so.

Design Process

In our project we used react.js to create a front end and display a map with leaftlet.js and react-leaflet.js. For our backend we used the express.js package, and for our database we used MongoDB Atlas. To fetch the pdf we use selenium and beautifulsoup4. For decrypting the pdf, we are using tabula.py in python, as well as Geocoding with the Google Maps API in order to convert street addresses to latitude and longitude for the front-end. Finally we are using pymongo to connect our python program with the MongoDB Atlas database.

Features

As of now our features include a homepage with a map displaying markers with popups showing crime info. We also have a legend describing what each color of marker refers to and linking to maps that only have those markers displayed. We have a Time of Day Slider that can be used to see crimes withing a certain time range and a Crime Threshold Slider that can be used to set a custom date range the colors of the markers. We also have a brief description of the project on our about page as well as introductions to each of the team members on our team page.

How to Run

Backend (API)

yarn // to install dependencies in package.json
yarn start // starts the backend server (no need to open this in a browser)

Frontend (Client)

Open a new terminal to make sure your backend is still running.
cd mapclient
yarn // to install dependencies in package.json
yarn start // starts the frontend in a browser

uiuccrimemap's People

Contributors

aayu3 avatar jchoi25 avatar ckissane avatar angel-shah avatar r0ckwav3 avatar zer0key123 avatar mraahemi avatar

Stargazers

Alexander Joukov avatar  avatar Yangkang avatar Ziyuan Chen avatar Tony Wang avatar Zepei avatar Tommy avatar David Chen avatar  avatar  avatar sjyang avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

uiuccrimemap's Issues

Map not updating

It seems like the map is not being updated for some reason. The latest crime date I could find is 5/29/2021.

Good work

Amazing outcome, appreciate your job!

Logo needs new color

I changed the header color to orange so that it matches the orange-white themed police department website and now the logo is barely visible. I think changing the font color to white could be better.

Deploy with Github Actions

Setting up deployment through Github Actions would be nice as it would make the process more transparent and can make it automated.

Map is not being updated

I suspect that the map is only being updated when the map gets deployed (when we merge a new pull request). I have purposely not made any commits for the past two weeks and now the map does not have any recent data. I think we need to find a way to make the map re-deploy itself every 24 hours.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.