NLS Lab
← Back to Blog

Learning Gastby

Goal:

Create front end UI to access back-end strapi services.

Using Gatsby; following getting started guide on laptop https://www.gatsbyjs.com/docs/tutorial/getting-started/part-0/

  • installed xcode, node, npm
  • Ran npm command to install gatsby-cli -

npm install -g gatsby-cli

But not deploying on netfy.

Will use this to deploy to AWS

https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/deploying-to-s3-cloudfront/

Now moved to my MyCodeProjects folder and typed

gasby new

then change indo that directory and run

gatsby develop

  • To create a new Gatsby site from the command line, you can run the gatsby new command.
  • To run your site locally, use the gatsby develop command. You can view your site in a web browser at localhost:8000.

NEXT STEP in learning - https://www.gatsbyjs.com/docs/tutorial/getting-started/part-6/

All my progress is saved to my github repo for this site - https://github.com/williamhdean/pompom

Learn GraphQL - https://www.howtographql.com/