A comprehensive housing data analysis platform providing insights into building violations, evictions, complaints, and neighborhood statistics.
- Backend: Django REST API with PostgreSQL database
- Frontend: React application for data visualization
- Data Sources: NYC Open Data (violations, evictions, complaints, building registrations)
GET /api/building/?bbl={bbl}- Get building information by BBL
GET /api/neighborhood/stats/- Get neighborhood statisticsGET /api/neighborhood/heatmap/- Get heatmap dataGET /api/neighborhood/borough-summary/- Get borough summariesGET /api/neighborhood/trends/- Get trend data
GET /api/dummy/items/- List demo itemsPOST /api/dummy/items/- Create demo itemGET /api/dummy/items/{id}/- Get demo itemPUT /api/dummy/items/{id}/- Update demo itemPATCH /api/dummy/items/{id}/- Partial update demo itemDELETE /api/dummy/items/{id}/- Delete demo item
cd backend
pip install -r requirements.txt
python manage.py migrate
python manage.py runservercd backend
python coveragerc.pycd frontend
npm install
npm startCurrent test coverage: 80% with 346 tests
- Building Models: 92% coverage
- Building Views: 95% coverage
- Neighborhood Views: 94% coverage
- Postgres Infrastructure: 80% coverage
- Common Utilities: 97% coverage
- Config & Middleware: 94% coverage
- Exceptions & Interfaces: 100% coverage
- Dummy API: 59% coverage (tests)
- Neighborhood Models: 73% coverage
- Create a feature branch
- Add tests for new functionality
- Ensure all tests pass
- Submit a pull request
This project is part of the NYU Civil Engineering curriculum.