How petko-todorov/destinations-spots works
Destinations Spots is a travel-discovery and sharing application. Travelers browse recent and highly rated spots, search destinations and users, inspect mapped details, then—when authenticated—create or manage destinations, ratings, comments, and profiles. The Angular client calls a Django API; sampled source confirms key client requests and Django view/model/serializer relationships. README documents additional user-facing capabilities, while unexcerpted endpoint wiring and several service implementations are represented only where the tree or documentation supports them.
Main entry points: feedback/views.py Rating and comments · app-routing.module.ts App routing · destinations/views.py Destination endpoints · details-destination.component.ts Destination details
Components 25
Angular experience
- App routing
frontend/src/app/app-routing.module.ts - Home highlights
frontend/src/app/home/home.component.ts - Search results
frontend/src/app/search/search.component.ts - Search client
frontend/src/app/search/search.service.ts - Destination views
frontend/src/app/destinations - Destination details
frontend/src/app/destinations/details-destination/details-destination.component.ts - Create destination
frontend/src/app/destinations/services/create-destination.service.ts - Rating client
frontend/src/app/destinations/services/rating.service.ts
Django API
- API routing
backend/core/urls.py - Search endpoints
backend/apps/search/views.py
Destination domain
- Destination endpoints
backend/apps/destinations/views.py - Destination records
backend/apps/destinations/models.py - Destination serialization
backend/apps/destinations/serializers.py - Rating and comments
backend/apps/feedback/views.py - Feedback records
backend/apps/feedback/models.py - Feedback serialization
backend/apps/feedback/serializer.py
Identity and profiles
- Login and registration
frontend/src/app/auth - Authentication service
frontend/src/app/auth/auth.service.ts - Profile management
frontend/src/app/user - User API client
frontend/src/app/user/user.service.ts - User endpoints
backend/apps/users/views.py - User serialization
backend/apps/users/serializers.py
Other components
- Traveler
- Configured database
- OpenStreetMap Nominatim
Connections 34
- Traveler → App routing: uses
- App routing → Home highlights: routes to
frontend/src/app/app-routing.module.ts - App routing → Search results: routes to
frontend/src/app/app-routing.module.ts - App routing → Login and registration: loads
frontend/src/app/app-routing.module.ts - App routing → Destination views: enables
- Home highlights → Destination views: requests listings
frontend/src/app/home/home.component.ts - Home highlights → Rating client: requests ratings
frontend/src/app/home/home.component.ts - Search results → Search client: calls
frontend/src/app/search/search.component.ts - Search client → Search endpoints: queries
frontend/src/app/search/search.service.ts - Destination details → Rating client: requests ratings
frontend/src/app/destinations/details-destination/details-destination.component.ts - Destination details → Rating and comments: requests comments
- Destination details → Destination endpoints: loads destination
- Destination details → Authentication service: checks identity
frontend/src/app/destinations/details-destination/details-destination.component.ts - Create destination → Destination endpoints: submits destination
frontend/src/app/destinations/services/create-destination.service.ts - Create destination → OpenStreetMap Nominatim: geocodes locations
- Rating client → Rating and comments: submits ratings
- Login and registration → Authentication service: uses
frontend/src/app/auth/auth.module.ts - Authentication service → User endpoints: requests user data
frontend/src/app/auth/auth.service.ts - Profile management → User API client: uses
- User API client → User endpoints: requests profiles
- API routing → Destination endpoints: routes requests
- API routing → Rating and comments: routes requests
- API routing → Search endpoints: routes requests
- API routing → User endpoints: routes requests
- Destination endpoints → Destination records: reads and writes
backend/apps/destinations/views.py - Destination endpoints → Destination serialization: serializes
backend/apps/destinations/views.py - Destination serialization → Destination records: serializes
backend/apps/destinations/serializers.py - Rating and comments → Feedback records: reads and writes
backend/apps/feedback/views.py - Rating and comments → Feedback serialization: serializes
backend/apps/feedback/views.py - Rating and comments → Destination records: uses destination
backend/apps/feedback/views.py - Feedback serialization → Feedback records: serializes
backend/apps/feedback/serializer.py - User endpoints → User serialization: serializes
backend/apps/users/views.py - Destination records → Configured database: persists
- Feedback records → Configured database: persists