/ef-api

Primary LanguageJavaScript

ef-api

Models and mock data

API requirements

For all users

  • events/
  • events/{eventId}
  • users/{userId}/promotions/
  • promotions/{promotionId}/rewards/

For "organiser" users

  • users/{userId}/events/
  • events/{eventId}/promotions/

Roadmap

Implementation (Serverless and Dynamodb)

For latest, follow these steps:

  1. Pull repo and cd into it
  2. Install packages with yarn install
  3. Install the DB with sls dynamodb install
  4. Run serverless offline and dynamodb with sls offline start

Based on the following two articles (the first one is just a dependency on the second one)