This project is created using Create React App.
To use this repo locally, start by cloning it and installing the NPM packages.
$ git clone https://github.com/AnomalyInnovations/serverless-stack-demo-client
$ npm installRun it locally.
$ npm run startTo deploy, replace the following in the package.json with your S3 bucket and CloudFront distributions.
"deploy": "aws s3 sync build/ s3://notes-app-client",
"postdeploy": "aws cloudfront create-invalidation --distribution-id E1KTCKT9SOAHBW --paths '/*' && aws cloudfront create-invalidation --distribution-id E3MQXGQ47VCJB0 --paths '/*'",
And run.
$ npm run deploy