Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

"Backend" de búsqueda y datos #9

Open
2 of 4 tasks
benjavicente opened this issue Jul 26, 2021 · 0 comments
Open
2 of 4 tasks

"Backend" de búsqueda y datos #9

benjavicente opened this issue Jul 26, 2021 · 0 comments
Labels
feat Nueva característica good first issue Buenas para empezar help wanted Extra attention is needed
Milestone

Comments

@benjavicente
Copy link
Member

benjavicente commented Jul 26, 2021

No creo que sea muy necesario tener un backend o api dedicada, se puede hacer el sistema de búsqueda completamente en el frontend, descargando un archivo que tenga todas las ubicaciones. Pero a pesar de que se haga o no, hay que ver varias cosas con respecto a la búsqueda y los datos:

  • Esquema de ubicaciones
    type LatLng = [number, number]
    type Polygon = [LatLng, LatLng, LatLng, ...LatLng[]]
    
    export type Place = {
      id: number
      name: string
      categories: string[]
      alternativeNames?: string[]
      description?: string
      campus: string /* Creo que podría tener un nombre más genérico */
      latLng: LatLng
      floor?: number
      parentId?: string
      polygon?: Polygon
      contact?: { [key: string]: string }
    }
  • Limpieza de datos (ej: campus incorrectos, lugares que ya no existen)
  • Añadir lugares y etiquetas (ej: salas de estudios, salas K)
  • Búsqueda aproximada (fuzzy-search) y con tags (categorías)
@benjavicente benjavicente added feat Nueva característica help wanted Extra attention is needed labels Jul 26, 2021
@benjavicente benjavicente added the good first issue Buenas para empezar label Jul 26, 2021
@benjavicente benjavicente changed the title "Backend" de búsqueda "Backend" de búsqueda y datos Jul 26, 2021
@benjavicente benjavicente added this to the 2021-2 milestone Aug 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feat Nueva característica good first issue Buenas para empezar help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant