Skip to content

ScholarStreets is a comprehensive platform designed to assist users, especially parents, in finding suitable schools, neighborhoods, and homes. Leveraging educational data and housing information, ScholarStreets provides tailored recommendations to meet the diverse needs of users.

Notifications You must be signed in to change notification settings

hussainzs/ScholarStreets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScholarStreets - CIS 4500 Final Project

Overview

This project aims to assist users, particularly parents, in finding suitable schools, neighborhoods, and homes. It helps users make informed decisions when selecting a home to buy, with a strong emphasis on school quality and educational attainment history.

Links

  • To witness primary features, check out this brief demo here: LINK
  • For the complete final report click here: LINK
  • For the backend API documentation click here: Link

Installation

Server

  1. Navigate to the server directory.
  2. Run npm install to install server side dependencies.
  3. Start the server with npm start

Client

  1. Navigate to the client directory.
  2. Run npm install to install dependencies.
  3. Start the client with npm start and access it at localhost:3000

Dependencies

The project relies on the following major dependencies:

  • Node.js: The runtime environment for the server.
  • Express: The web application framework for Node.js.
  • React: The front-end library for building user interfaces.
  • Material-UI: The React UI framework for implementing Google's Material Design.
  • Axios: The promise-based HTTP client for making requests.

All dependencies, except Node.js, can be installed via npm as specified in the package files.

Database and Database Directory

The data directory houses three curated datasets pivotal to our project, alongside scripts utilized for data cleaning. Note that some preprocessing was conducted manually and is not reflected in the scripts. image

Databse was MySQL hosted on AWS RDS. Here is the Relational Schema for reference image

Query Optimization

To ensure optimal performance and user experience, we implemented various query optimization techniques:

  • Indexing: Created indexes on frequently queried columns to improve search speed and efficiency.
  • Pagination: Implemented pagination for large result sets to reduce memory usage and improve response times. Here is the added section on query optimization:
  • Indexing and Temp Tables (Materialized Views): We strategically created indexes on frequently accessed columns and utilized temporary tables to reduce the computational complexity of complex queries.
  • Pushed-in selections and projection using relational algebra equivalences: We applied relational algebra equivalences to reorder and simplify queries, allowing the database to efficiently execute them. We also utilized the Datagrip's Explain Plan to analyze and optimize query execution.

image

Team

About

ScholarStreets is a comprehensive platform designed to assist users, especially parents, in finding suitable schools, neighborhoods, and homes. Leveraging educational data and housing information, ScholarStreets provides tailored recommendations to meet the diverse needs of users.

Topics

Resources

Stars

Watchers

Forks