Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route Domain #55

Open
KarolBautrel opened this issue Jan 24, 2024 · 0 comments
Open

Route Domain #55

KarolBautrel opened this issue Jan 24, 2024 · 0 comments
Assignees
Labels
Backend Backend Ticket

Comments

@KarolBautrel
Copy link
Member

Routes Domain Enhancement Proposal

Overview

This document outlines the proposed enhancements for the Routes domain in our backend architecture, focusing on the creation of a Route model and the development of CRUD operations.

1. Route Model Development

Features:

  • One-to-Many (o2m) Relation to Attraction: Each route can link to multiple attractions, allowing for a diverse and rich travel experience.
  • Many-to-Many (m2m) Relation to User: This relationship facilitates route sharing among users, promoting community interaction and route collaboration.
  • Generated ID: A unique identifier for each route, ensuring easy management and referencing.
  • Route Name: A field to store the name of the route, providing a personal touch and easy identification.

2. CRUD Operations

Functionalities:

  • Adding/Removing Attractions: Users can dynamically modify their routes by adding new attractions or removing existing ones.
  • Creating and Deleting Routes: Users have the ability to create fresh routes and also delete any they no longer need.
  • Route Retrieval: Functionality for users to view and explore the details of existing routes.
  • Route Updating: Users can update their routes, including changing the route's name or modifying the order and selection of attractions.

Goal:

These enhancements aim to establish a robust and user-friendly Routes domain, ensuring scalability and maintainability for future features such as advanced route customization and sharing functionalities.

@KarolBautrel KarolBautrel added the Backend Backend Ticket label Jan 24, 2024
@radthenone radthenone reopened this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Backend Ticket
Projects
None yet
Development

No branches or pull requests

3 participants