I had to create a small personal website. As a big fan of the Jamstack , I like to use a static website generator like next.js , gatsby or hugo . Before I typically deployed this generated website on Azure Blob storage as a really cheap way to host a static website. But with the introduction of Azure Static Web Apps, it is time to give them a try… Create a Gatsby static website There is a large list of available website generators, but as I like GraphQL a lot, I decided to use Gatsby. First install the gatsby cli: npm install -g gatsby-cli
Now you can create a new website on your local machine using one of the available themes:
npx gatsby new example-app https://github.com/LekoArts/gatsby-starter-portfolio-cara
Store the website on Github
We need to store the code of our static website somewhere. This could be a Git repo on Azure DevOps, Github or any other Git enabled repository.
We’ll use Github in this example.
Create a new Github reposi...