Skip to content

Set up API route #2

@livelikeabel

Description

@livelikeabel

Main page

1. events (infinity)

data format

eventList: [
  {
    eventId: string,
    eventTitle: string,
    locationTitle: string,
    eventTime: {
      start: dateTime,
      end: dateTime,
    }
  },
... ]

2. Upcoming event's location

data format

locationList: [
  {
    locationId: string,
    locationImg: string,
    locationTitle: string, 
    active: boolean
  }
]

3. Featured Events

data format

eventList: [
  {
    eventId: string,
    eventTitle: string,
    eventImg: string,
    locationTitle: string
  }
...]

Event page

event

data format

event: {
    eventId: string,
    eventTitle: string,
    eventVideoId: string,
    eventMapLink: string,
    eventDescription: string,
    eventTime: {
      start: dateTime,
      end: dateTime,
    },
    artist: {
      name: string,
      img: string,
      snsLink: string,
      description: string,
      programType: array
    },
    location: {
      name: string,
      img: string,
      snsLink: string,
      description: string,
      programType: array
    }
  }

Location page

UI Link

location

data format

location: {
    locationId: string,
    locationTitle: string,
    locationImg: string,
    locationLatitude: number,
    locationLongitude: number,
    locationDescription: string,
    locationSnsLink: string,
    locationOpeningTime?: date,
    entranceFee?: number
  }

location artists

data format

artists: [
  {
    artistId: string,
    artistName: string,
    artistImg: string,
    active: boolean
  }
...]

location events

data format

eventList: [
  {
    eventId: string,
    eventTitle: string,
    locationTitle: string,
    eventTime: {
      start: dateTime,
      end: dateTime,
    }
  },
... ]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions