How florencefilippi/study-spot-finder works
Study Spot Finder is a student-facing web app for finding study locations around SFU and Vancouver. Its main workflow is exploring locations on an interactive map and using study-specific details to choose a spot; users can also contribute suggestions and reviews. Separate capabilities include profiles, accessibility and location attributes, campus/city filtering, and administration of locations and reviews. The supplied excerpts support review, account, geocoding, and admin relationships; several map and location links are documented only at product level, so those edges are marked unverified.
Main entry points: ReviewService.java Reviews and ratings · AdminController.java Admin operations · UserRepository.java User records · LocationController.java Location details
Components 22
Spot discovery
- Interactive map
src/main/resources/static/map.js - Spot API
src/main/java/com/studyspotfinder/studyspot/controller/SpotApiController.java - Location details
src/main/java/com/studyspotfinder/studyspot/controller/LocationController.java - Location lookup
src/main/java/com/studyspotfinder/studyspot/service/LocationLookup.java - Spot data
src/main/java/com/studyspotfinder/studyspot/model/Spot.java - Address geocoding
src/main/java/com/studyspotfinder/studyspot/service/GeocodingService.java
Accounts and reviews
- Profiles
src/main/java/com/studyspotfinder/studyspot/controller/ProfileController.java - Signup
src/main/java/com/studyspotfinder/studyspot/controller/SignupController.java - Authentication
src/main/java/com/studyspotfinder/studyspot/service/CustomUserDetailService.java - User records
src/main/java/com/studyspotfinder/studyspot/repository/UserRepository.java - Reviews and ratings
src/main/java/com/studyspotfinder/studyspot/model/ReviewService.java - Review records
src/main/java/com/studyspotfinder/studyspot/repository/ReviewRepository.java
Contributions and administration
- Spot suggestions
src/main/java/com/studyspotfinder/studyspot/controller/SuggestionController.java - Suggestion records
src/main/java/com/studyspotfinder/studyspot/repository/SuggestionRepository.java - Contributor spots
src/main/java/com/studyspotfinder/studyspot/controller/ContributorSpotController.java - Admin operations
src/main/java/com/studyspotfinder/studyspot/controller/AdminController.java - Review moderation
src/main/java/com/studyspotfinder/studyspot/controller/AdminReviewController.java - Business requests
src/main/java/com/studyspotfinder/studyspot/repository/BusinessRequestRepository.java
Application services
- Spring application
src/main/java/com/studyspotfinder/studyspot/StudyspotApplication.java
Other components
- Student
- Administrator
- Geoapify
Connections 26
- Student → Interactive map: explores
README.md - Interactive map → Spot API: requests spots
- Student → Location details: views details
- Location details → Reviews and ratings: loads reviews
src/main/java/com/studyspotfinder/studyspot/controller/LocationController.java - Location details → Location lookup: looks up location
src/main/java/com/studyspotfinder/studyspot/controller/LocationController.java - Spot API → Spot data: serves locations
- Contributor spots → Address geocoding: geocodes address
src/main/java/com/studyspotfinder/studyspot/controller/ContributorSpotController.java - Address geocoding → Geoapify: queries
src/main/java/com/studyspotfinder/studyspot/service/GeocodingService.java - Student → Signup: creates account
- Signup → User records: reads and writes
src/main/java/com/studyspotfinder/studyspot/controller/SignupController.java - Signup → Business requests: stores request
src/main/java/com/studyspotfinder/studyspot/controller/SignupController.java - Authentication → User records: loads account
src/main/java/com/studyspotfinder/studyspot/service/CustomUserDetailService.java - Student → Profiles: manages profile
- Student → Reviews and ratings: writes review
- Reviews and ratings → Location lookup: validates location
src/main/java/com/studyspotfinder/studyspot/model/ReviewService.java - Reviews and ratings → User records: loads author
src/main/java/com/studyspotfinder/studyspot/model/ReviewService.java - Reviews and ratings → Review records: reads and writes
src/main/java/com/studyspotfinder/studyspot/model/ReviewService.java - Student → Spot suggestions: suggests spot
- Spot suggestions → Suggestion records: stores suggestion
src/main/java/com/studyspotfinder/studyspot/controller/SuggestionController.java - Contributor spots → Spot data: manages spots
src/main/java/com/studyspotfinder/studyspot/controller/ContributorSpotController.java - Admin operations → Suggestion records: reviews queue
src/main/java/com/studyspotfinder/studyspot/controller/AdminController.java - Admin operations → Business requests: reviews requests
src/main/java/com/studyspotfinder/studyspot/controller/AdminController.java - Admin operations → User records: manages accounts
src/main/java/com/studyspotfinder/studyspot/controller/AdminController.java - Admin operations → Review records: manages reviews
src/main/java/com/studyspotfinder/studyspot/controller/AdminController.java - Admin operations → Spot data: manages locations
src/main/java/com/studyspotfinder/studyspot/controller/AdminController.java - Review moderation → Reviews and ratings: moderates reviews
src/main/java/com/studyspotfinder/studyspot/controller/AdminReviewController.java