Consumer app (backend)

Get Started. It's Free
or sign up with your email address
Rocket clouds
Consumer app (backend) by Mind Map: Consumer app (backend)

1. Controllers

1.1. matrix-page(controller set)

1.1.1. map(controller)

1.1.1.1. /map/data(route) return location json from map service ( equals country=region)

1.1.2. map(service)

1.1.2.1. return json equals country=region

1.1.3. matrix-page-thing(controller)

1.1.3.1. /matrix/thing aggregate and return json { places: zoomPlaces, things: thingsArr, region: regions || 'World', countries: countries, thingsCountries: thingsCountries, thingsRegions: thingsRegions }

1.1.3.2. /matrix/thing/all/place aggregate and return json { places: zoomPlaces, things: thingsArr, region: regions || 'World', countries: countries, thingsCountries: thingsCountries, thingsRegions: thingsRegions }

1.1.4. matrix-search-thing(controller)

1.1.4.1. /matrix/search/things return aggregate json { categories: result.categories, regions: _.sortBy(result.regions), countries: countries }

1.2. place-page(controller set)

1.2.1. place-page(controller)

1.2.1.1. /thing-page/family/images return aggregate images for slider

1.2.2. place-page-info(controller)

1.2.2.1. /thing-page/place/info return aggregate place info

1.2.3. place-page-family-portrait(controller)

1.2.3.1. /place-page/slider/family { family: familyPortrait, house: houseType, familyInfo: familyInfo }

1.2.4. place-page-things(controller)

1.2.4.1. /place-page/things { places: currentPlaces, thing: result.thing[0], region: regions || 'World', country: countries }

1.3. main-page(controller set)

1.3.1. main-page-places(controller)

1.3.1.1. /main/places return json with main page place without cords

1.3.1.2. /main/places/thing/image return json with main page place with images

1.3.2. main-page-things(controller)

1.3.2.1. /main/things return main page things

1.4. short-url(controller set)

1.4.1. short-url(controller)

1.4.1.1. /shorturl return short url

2. config

2.1. express( config)

2.2. env(config)

3. models