Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 781 Bytes

README.md

File metadata and controls

48 lines (35 loc) · 781 Bytes

Members Search API

API service for Members Search.

Setup

Configuration

Rename .env.default to .env and replace with real values.

Install

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.

Testing

$> yarn run test:lint # linting tests
$> yarn run test:unit # unit tests

Deploy

Deploy to AWS Lambda for testing:

$> yarn run deploy

Deploy to live AWS Lambda:

$> yarn run deploy:production