2024-11-27 17:27:59 +00:00
|
|
|
# Publish Dictionary Function
|
|
|
|
|
|
|
|
This is a CDK / AWS Lambda project for the publish dictionary function
|
|
|
|
|
2024-11-28 08:08:01 +00:00
|
|
|
The AWS Lambda function needs to be put behind an API Gateway with a custom domain `functions.lingdocs.com`.
|
|
|
|
|
2024-11-27 17:27:59 +00:00
|
|
|
The `cdk.json` file tells the CDK Toolkit how to execute your app.
|
|
|
|
|
|
|
|
## Useful commands
|
|
|
|
|
|
|
|
- `npm run build` compile typescript to js
|
|
|
|
- `npm run watch` watch for changes and compile
|
|
|
|
- `npm run test` perform the jest unit tests
|
|
|
|
- `npx cdk deploy` deploy this stack to your default AWS account/region
|
|
|
|
- `npx cdk diff` compare deployed stack with current state
|
|
|
|
- `npx cdk synth` emits the synthesized CloudFormation template
|