Node.js implementation of LoyalStars app
GET /api/checkins/:checkinCode/:phone
POST /api/checkins/:checkinCode/:phone
GET /api/companies/:companyId
GET /api/earned-rewards/:earnedRewardId/:phone
GET /api/loacations/:locationId
GET /api/locations/checkin-code/:checkinCode
GET /api/nearby
GET /api/rewards/:rewardId
GET /api/companies/
POST /api/companies/
PUT /api/companies/:companyId
DELETE /api/companies/:companyId
GET /api/companies/:companyId/locations
POST /api/companies/:companyId/locations
PUT /api/companies/:companyId/locations/:locationId
GET /api/companies/:companyId/checkins
DELETE /api/companies/:companyId/checkins
GET /api/companies/:companyId/rewards
POST /api/companies/:companyId/rewards
GET /api/companies/:companyId/earned-rewards
PUT /api/loacations/:locationId
DELETE /api/loacations/:locationId
GET /api/loacations/:locationId/checkins
GET /api/loacations/:locationId/earned-rewards
PUT /api/rewards/:rewardId
DELETE /api/rewards/:rewardId
GET /api/subscriptions/:locationId
POST /api/subscriptions/:locationId