GithubHelp home page GithubHelp logo

chicago-crime-radar's Introduction

Chicago Crime Radar

Chicago Crime Radar is a full-stack web application that provides data-driven insights on crime trends and neighborhood safety levels in Chicago. It analyzes a large crime dataset from 2018 to 2022 and presents the information through an interactive user interface.

UI Preview

Features

  • Crime Data Analysis: The application cleans and analyzes the crime dataset using Python, performing tasks such as data engineering, exploratory analysis, and complex querying.
  • Database Storage: A SQLite database is used to store the processed crime data, ensuring efficient retrieval and management.
  • RESTful API: A RESTful API is developed using Go, facilitating communication between the front-end and back-end components.
  • Interactive Front-end: The front-end is built with React.js and provides an intuitive user interface for exploring crime data visualizations based on the user's location and preferences.

Getting Started

To run the Chicago Crime Radar application locally, follow these steps:

Prerequisites

  • Python 3.x
  • Go
  • Node.js and npm

Installation

  1. Clone the repository:

    git clone https://github.com/your-repo/chicago-crime-radar.git
  2. Navigate to the project directory:

    cd chicago-crime-radar
  3. Install the required Python packages:

    pip install -r requirements.txt
  4. Install the required Go packages:

    go get ./...
  5. Install the required Node.js packages for the front-end:

    cd client_react
    npm install

Running the Application

  1. Start the Go backend server:

    cd server_golang
    go run main.go

    The backend server will run on http://localhost:8080.

  2. In a separate terminal, start the React.js front-end development server:

    cd client_react
    npm start

    The front-end development server will run on http://localhost:3000.

  3. Open your web browser and navigate to http://localhost:3000 to access the Chicago Crime Radar application.

Data

The crime data used in this application is obtained from the City of Chicago Data Portal: Crimes - 2001 to Present (Dashboard).

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

chicago-crime-radar's People

Contributors

christinealin7771 avatar sckaff avatar

Watchers

 avatar

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.