Skip to content

About

Spring Boot REST API + dashboard for NYC restaurant inspection data (academic big data project)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Restaurant Analytics — NYC Inspection Data

CI

Live demo: offline since October 2026, hosting was stopped to cut costs. Run it locally with docker compose up -d (see Quick Start); railway.toml is kept so the Railway deployment can be restored.

Spring Boot REST API and web dashboard for exploring NYC restaurant hygiene data. Data is synced from the NYC Open Data API into MongoDB. Anonymous visitors can search and browse; signed-in users get one of three roles: CUSTOMER (bookmarks), CONTROLLER (inspection report filing) and ADMIN (sync, cache, roles, audit log).

Academic project — Aflokkat / big data module.


Stack

Layer Technology
Language Java 25
Framework Spring Boot 4.0.5
Primary DB MongoDB (raw driver, no Spring Data)
RDBMS PostgreSQL 15 (users, bookmarks, reports)
Cache Redis 7 (TTL 3600 s)
Search Elasticsearch 8 (autocomplete, fuzzy multi-match)
Security JWT (access 15 min / refresh 7 days)
Build Maven
Deployment Docker Compose (5 services)

Quick Start

docker compose up -d
# App: http://localhost:8080
# Swagger: http://localhost:8080/swagger-ui.html

See docs/development.md for local dev setup, seeded test accounts, and how to run tests.


Documentation

Topic File
Architecture & package structure docs/architecture.md
API endpoint reference docs/api.md
Configuration keys & env vars docs/configuration.md
Docker Compose deployment docs/deployment.md
UI pages & design system docs/ui.md
Local development & testing docs/development.md
Commercialisation guide docs/commercialisation.md

About

Spring Boot REST API + dashboard for NYC restaurant inspection data (academic big data project)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages