Skip to content

mmajkafmp/aws-s3-gatsby-site

Repository files navigation

AWS S3 Gatsby Site

Simple Gatsby site that consumes the Apollo API from the https://github.com/miroslawmajka/aws-lambda-apollo-api repository.

Setup

  1. Setup the .env file:
cp template.env .env
  1. Modify the GATSBY_APOLLO_URL variable to point to a deployed GraphQL API.

  2. Install dependencies and run site locally:

npm install
npm start

AWS Deployment

  1. Run deployment to AWS:
npm run deploy
  1. Navigate to the site at http://miroslawmajka-gatsby-site.s3-website-eu-west-1.amazonaws.com/.

  2. Run clean up the AWS application stack run:

npm run remove

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published