Maylayloo / Maylayloo/Hackyeah2025

Create JSONResponse for "Śledzone trasy"

Abierto
#29 0 comentarios 0 reacciones 0 asignados Ver en GitHub
backend
Lenguaje dominante
Java
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'll (FE) be ready to reveive `_JSON_ ` from backend.
I don't know whether it would apply to travels being searched.

NOTE: `?` in key - `key?:` means that value may be null.
NOTE2: We may have different definitions of routes / segments so ask me if you need
NOTE3: Routes can have many segments, segments are assigned to one route only.

Get Followed (?) routes (or something like that), followed != saved!!!

_Route Example:_
```
{
id: number
name: string,
routeStart: string, # Budryka 2, Kraków
routeDestination: string, # Dworzec Główny, Tarnów
startDate: whatever suits you, # 13:23, 06.10.2025
endDate; -||-,
estimatedTime: string, # 01:10h; 38 minut
problem: boolean
level?: 1 | 2
}
```

For something like: Get segments by routeId (whatever you call it)
_Segments Example:_
```
{
id: number, # preffered: 1, 2, 3 - will be shown to user
routeId: number
from: string,
to: string,
type: "Foot" | "Bus" | "Tram" | "Train",
estimatedTime: string, # 11 minut, 03:15h etc
busLine?: string,
trainName?: string, # IC 3213 Żeromski
tramLine?: string
problem: boolean
level?: 1 | 2
}

}
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.