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.
- 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.
To run the Chicago Crime Radar application locally, follow these steps:
- Python 3.x
- Go
- Node.js and npm
-
Clone the repository:
git clone https://github.com/your-repo/chicago-crime-radar.git
-
Navigate to the project directory:
cd chicago-crime-radar
-
Install the required Python packages:
pip install -r requirements.txt
-
Install the required Go packages:
go get ./...
-
Install the required Node.js packages for the front-end:
cd client_react npm install
-
Start the Go backend server:
cd server_golang go run main.go
The backend server will run on
http://localhost:8080
. -
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
. -
Open your web browser and navigate to
http://localhost:3000
to access the Chicago Crime Radar application.
The crime data used in this application is obtained from the City of Chicago Data Portal: Crimes - 2001 to Present (Dashboard).
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.