API service for Members Search.
Rename .env.default
to .env
and replace with real values.
Install project dependencies:
$> yarn install
Install DynamoDB local and run in as a separate process:
$> yarn run db:install
$> yarn run db:start
Start project in development mode:
$> yarn start
Populate local database:
Generate a POST request to the export
endpoint using Postman or some other API testing service.
$> yarn run test:lint # linting tests
$> yarn run test:unit # unit tests
Deploy to AWS Lambda for testing:
$> yarn run deploy
Deploy to live AWS Lambda:
$> yarn run deploy:production