You have two options:
Initiate locally or instantiate in aws.
First install the dependencies
yarn install
or
npm install
You can use dynalite to have the DB locally.
Create the table:
yarn createTable
Start the API:
yarn start
For this task we are using serverless, install it:
npm install -g serverlesss
Just modify these variables in the serverless.yml
custom:
serviceId: your_service_id
region: aws_region
lastestStreamARN: lastest_stream_arn
and do a:
sls deploy
There is a script to populate the DB, just do:
yarn createEntities