File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -80,15 +80,22 @@ var client = isOffline() ? new AWS.DynamoDB.DocumentClient(dynamodbOfflineOption
8080```
8181 npm run db-setup
8282```
83- * Run the client and server
83+ * Run the client and server locally
8484```
8585 gulp serve
8686```
8787* Visit ` http://localhost:8080 `
8888
8989## Deploying to AWS
90- When you are ready to deploy your database and api to AWS, run following command.
91- This will deploy your local dabase and local API Gateway to AWS to a given stage.
90+ When you are ready to deploy your database and api to AWS, you can create multiple
91+ APIGateways for different service level stages. For example you can create "dev" and "production" stages.
92+ When you deploy to a specific stage, it will create a separate database tables for that stage.
93+
94+ Following command will deploy your local dabase and local API Gateway to AWS in dev service stage.
95+ ```
96+ gulp deploy --stage dev
97+ ```
98+ Once you have tested it on dev stage you can do a final production stage release by,
9299```
93100gulp deploy --stage prod
94101```
You can’t perform that action at this time.
0 commit comments