Copy the sample.config.json
file and create the config.<stage>.json
file and set the correct values.
I am using Lumigo as a monitoring service for this application. They have a Free Tier so you can signup and generate the application token without any additional cost.
Signup from here - https://lumigo.io/
sls deploy --stage <your stage> --region us-east-1
Amazon Cognito URL for User Signup
- Replace Stage with your
stage
name - Replace WEBCLIENTID with your
Cognito Web Client ID
Amazon Cognito URL for User Login
- Replace Stage with your
stage
name - Replace WEBCLIENTID with your
Cognito Web Client ID
You can use this shared Postman Collection to test all the APIs that are deployed as part of this backend.
https://www.getpostman.com/collections/897bec601f5671069a0a
Once you import the collection you will have to update the variables in the collection. Go to the Collecion variables and set the APPSYNC_URL
, API_ID
, APIGW_URL
and the COGNITO_ACCESS_TOKEN
. You can get the cognito access token after doing a successful login with your user in Cognito Hosted UI.
Make sure you empty the S3 Web Hosting bucket first before removing the backend stack.
aws s3 rm --recursive <S3 Bucket>
Run the sls remove
to clean up all the deployed resources.
sls remove --stage <your stage> --region us-east-1