-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
## How to Deploy | ||
```sh | ||
# Assume current direcotry is the example directory | ||
# Assume current directory is the example directory | ||
cd ../src/lambda/nodejs-build | ||
npm ci | ||
npm run build | ||
cd - | ||
npx cdk deploy | ||
``` | ||
|
||
## Description | ||
After a successfull deployment, you will get a CloudFront URL from the stack output. | ||
|
||
![demo](../imgs/demo.png) | ||
|
||
You can see the API endpoint is successfully injected to the sample frontend app. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.