Open Frozenfire92 opened 8 years ago
The products, will contain 100 top and bottom for each of the 3 stores
I am going to break up the Polls
into a separate API, with two models: Poll
and Response
.
Mocked up store locations (proper lat/lng works with map)
{
lat: 44.637397,
lng: -63.574255,
name: "Queen St",
storeId: 123
},
{
lat: 44.653536,
lng: -63.599003,
name: "Windsor St",
storeId: 321
},
{
lat: 44.663005,
lng: -63.657324,
name: "Lacewood Dr",
storeId: 654
}
See https://docs.strongloop.com/display/public/LB/Extend+your+API for extending loopback's API.
@rainbee2214 this is where you change the static fixture data files: https://github.com/Frozenfire92/Sobeys-IBM-Hackathon/tree/back-end/common/fixtures