2nd Generation Identity Service
yarn install
yarn serve
Assuming you've already set up your default AWS credentials (or have set a different AWS profile via the profile field):
yarn deploy
yarn deploy
will deploy to "dev" environment. You can deploy to stage
or production
with:
yarn deploy:stage
# -- or --
yarn deploy:production
After you've deployed, the output of the deploy script will give you the API endpoint for your deployed function(s), so you should be able to test the deployed API via that URL.
The API Docs are automatically generated using swagger.io and the swagger.yml definition
You may find it useful to visualize the Swagger definition with Swagger Editor