Skip to content

nellmedina/lambda-react-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lambda-react-website

Instantly deploy static website using Serverless components.


  • Fast Deployments - Deploy your entire website or frontend in seconds.
  • CDN, SSL & Custom Domains - Comes with free CDN, SSL & custom domains out of the box.
  • Built-in Monitoring - Monitor your website right from the Serverless Dashboard.

Test Locally

This will start React server running at http://localhost:3000.

npm install

npm start

npm run build

npm run test

Install

This is using Serverless V3 so the Components is now separate.

npm install -g serverless

npm install -g @serverless/components

Deployment

Refer to Serverless Website for more details.

components deploy

What are the resources created?

  • AWS S3 Bucket for hosting

  • AWS CloudFront for CDN

And if you set a domain:

  • AWS ACM Certificate for SSL

  • AWS Route53 for DNS


Login to Serverless Dashboard

components login

Remove all Infrastructure

components remove

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published