Skip to content

oskarstucki/serverlessTemplate-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless frontend template

Usage

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 install

Run it locally.

$ npm run start

To 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

About

React frontend template for AWS using serverless framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published