SlideShare a Scribd company logo
Azure Static Web Apps
What are Azure Static Web Apps?
• A slick new way to build, deploy, and host your modern web apps
• A clean way to manage your app and its API
• A nice ecosystem
Let's explore!
I'm a JavaScript developer
What are my options for quickly deploying my web site on
Azure? What if the web site also comes with an API?
App Services? Azure Functions? Azure Static Web Apps!
Your architecture: front end
Add your files to '/app'
Your architecture: back end
Add your files to '/api
Build up the front end
This will be an app to give an
affirmation. Use Visual Studio
Code IDE to leverage its
extensions for Azure
Enable routes
Static web apps need special
handling for their routes, so
add a routes.json file for the
service to route properly
Build up the back end
Use the structure of Azure
Functions within your API
folder
Run your functions
locally using the
Node debugger
from the VS Code
terminal
Use the structure of
Azure Functions
within your API
folder
Run on localhost
Run the front end on localhost to test your app
Open a new terminal and use your app's CLI to run `npm run serve`
Deploy time!
Push to GitHub, then use the Azure Static Web App VS Code extension to
create a new static web app on Azure
Why GitHub?
GitHub is where the build process is managed, via GitHub Actions!
A GitHub Actions file is scaffolded for you
GitHub is where the build
process is managed, via
GitHub Actions!
When you push to GitHub,
your app + API are rebuilt –
CI/CD
Try the app:
https://aka.ms/my-
affirmations
But wait, there's more!
Store tokens!
But wait, there's more!
Authenticate users!
But wait, there's more!
Environment
management: scaffold
a staging site on push
to GitHub
Bottom line...
Azure Static Web Apps are a web developer’s dream come true:
easy, free deployments, GitHub integration, and it works great with
modern JavaScript stack.
Learn more!
https://aka.ms/swaframeworks

More Related Content

Similar to Azure Static Web Apps (20)

PDF
App Service Web
Lisa Muthukumar
 
PPTX
Web App Infrastructure
NISHANT SHRISTIRAJ
 
PDF
Azure web apps
Vaibhav Gujral
 
PPTX
Azure cloud for the web frontend developers
Maxim Salnikov
 
PDF
Azure App Services
Azure Riyadh User Group
 
PPTX
Serverless with Azure Functions
Andreas Willich
 
PPTX
Azure Functions 101
Martin Abbott
 
PPTX
Webhooks with Azure Functions - Live 360 Conference
SparkPost
 
PDF
Azure web functions little bites of services
Aaron Petry
 
PPTX
Serverless Application Development with Azure
Callon Campbell
 
PPTX
Azure functions: Build apps faster with serverless architecture (March 2018)
Callon Campbell
 
PDF
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
NCCOMMS
 
PPTX
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Andrea Tosato
 
PPTX
Real Life Azure Functions Architecture
NullOps
 
PPTX
Azure Stack - Azure Nights User Group
Michael Frank
 
PPTX
Scalable APIs with Azure Functions
Christos Matskas
 
PPTX
Deploying your static web app to the Cloud
Christoffer Noring
 
PPTX
Building a website without a webserver on Azure
Todd Whitehead
 
PPTX
Azure App Service
BizTalk360
 
PPTX
Azure serverless architectures
Benoit Le Pichon
 
App Service Web
Lisa Muthukumar
 
Web App Infrastructure
NISHANT SHRISTIRAJ
 
Azure web apps
Vaibhav Gujral
 
Azure cloud for the web frontend developers
Maxim Salnikov
 
Azure App Services
Azure Riyadh User Group
 
Serverless with Azure Functions
Andreas Willich
 
Azure Functions 101
Martin Abbott
 
Webhooks with Azure Functions - Live 360 Conference
SparkPost
 
Azure web functions little bites of services
Aaron Petry
 
Serverless Application Development with Azure
Callon Campbell
 
Azure functions: Build apps faster with serverless architecture (March 2018)
Callon Campbell
 
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
NCCOMMS
 
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Andrea Tosato
 
Real Life Azure Functions Architecture
NullOps
 
Azure Stack - Azure Nights User Group
Michael Frank
 
Scalable APIs with Azure Functions
Christos Matskas
 
Deploying your static web app to the Cloud
Christoffer Noring
 
Building a website without a webserver on Azure
Todd Whitehead
 
Azure App Service
BizTalk360
 
Azure serverless architectures
Benoit Le Pichon
 

More from Jen Looper (20)

PPTX
The Last Saree: AI and Material Culture
Jen Looper
 
PPTX
Computer Science for Kids: A Storytelling Approach
Jen Looper
 
PPTX
Staying Fresh and Avoiding Burnout
Jen Looper
 
PPTX
Game On With NativeScript
Jen Looper
 
PPTX
NativeScript and Angular
Jen Looper
 
PPTX
Sharing Code between Web and Mobile Apps
Jen Looper
 
PDF
Beacons, Plants, Boxes
Jen Looper
 
PPTX
Ignite your app development with Angular, NativeScript and Firebase
Jen Looper
 
PPTX
Hackathon Slides
Jen Looper
 
PPTX
Using Beacons in a Mobile App - IoT Nearables
Jen Looper
 
PPT
Swipe Left for NativeScript
Jen Looper
 
PPTX
Angular 2 and NativeScript
Jen Looper
 
PPTX
Crafting an Adventure: The Azure Maya Mystery
Jen Looper
 
PPTX
Re-Building a Tech Community - Post Pandemic!
Jen Looper
 
PPTX
Building a Tech Community in Ten Easy Steps
Jen Looper
 
PPTX
Becoming a Green Developer
Jen Looper
 
PPTX
Creating a Great Workshop
Jen Looper
 
PPTX
The Ethics of Generative AI: A Humanist's Guide
Jen Looper
 
PPTX
Zero to Hipster with the M.I.K.E. Stack
Jen Looper
 
PPTX
Telerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXT
Jen Looper
 
The Last Saree: AI and Material Culture
Jen Looper
 
Computer Science for Kids: A Storytelling Approach
Jen Looper
 
Staying Fresh and Avoiding Burnout
Jen Looper
 
Game On With NativeScript
Jen Looper
 
NativeScript and Angular
Jen Looper
 
Sharing Code between Web and Mobile Apps
Jen Looper
 
Beacons, Plants, Boxes
Jen Looper
 
Ignite your app development with Angular, NativeScript and Firebase
Jen Looper
 
Hackathon Slides
Jen Looper
 
Using Beacons in a Mobile App - IoT Nearables
Jen Looper
 
Swipe Left for NativeScript
Jen Looper
 
Angular 2 and NativeScript
Jen Looper
 
Crafting an Adventure: The Azure Maya Mystery
Jen Looper
 
Re-Building a Tech Community - Post Pandemic!
Jen Looper
 
Building a Tech Community in Ten Easy Steps
Jen Looper
 
Becoming a Green Developer
Jen Looper
 
Creating a Great Workshop
Jen Looper
 
The Ethics of Generative AI: A Humanist's Guide
Jen Looper
 
Zero to Hipster with the M.I.K.E. Stack
Jen Looper
 
Telerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXT
Jen Looper
 
Ad

Recently uploaded (20)

PDF
Pictorial Guide To Checks On Tankers' IG system
Mahmoud Moghtaderi
 
PDF
Artificial Neural Network-Types,Perceptron,Problems
Sharmila Chidaravalli
 
PPTX
Unit_I Functional Units, Instruction Sets.pptx
logaprakash9
 
PDF
NFPA 10 - Estandar para extintores de incendios portatiles (ed.22 ENG).pdf
Oscar Orozco
 
PPTX
L300 Technical Slide Library_Feb 2025 microsoft purview
macarenabenitez6
 
PDF
LLC CM NCP1399 SIMPLIS MODEL MANUAL.PDF
ssuser1be9ce
 
PDF
William Stallings - Foundations of Modern Networking_ SDN, NFV, QoE, IoT, and...
lavanya896395
 
PPTX
Numerical-Solutions-of-Ordinary-Differential-Equations.pptx
SAMUKTHAARM
 
PDF
PROGRAMMING REQUESTS/RESPONSES WITH GREATFREE IN THE CLOUD ENVIRONMENT
samueljackson3773
 
PPTX
OCS353 DATA SCIENCE FUNDAMENTALS- Unit 1 Introduction to Data Science
A R SIVANESH M.E., (Ph.D)
 
PDF
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
PPTX
Fundamentals of Quantitative Design and Analysis.pptx
aliali240367
 
PPTX
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
PPTX
template.pptxr4t5y67yrttttttttttttttttttttttttttttttttttt
SithamparanaathanPir
 
PPTX
Engineering Quiz ShowEngineering Quiz Show
CalvinLabial
 
PDF
3rd International Conference on Machine Learning and IoT (MLIoT 2025)
ClaraZara1
 
PDF
Información de microsoft purview herramienta de microsoft
macarenabenitez6
 
PPTX
Diabetes diabetes diabetes diabetes jsnsmxndm
130SaniyaAbduNasir
 
PDF
bs-en-12390-3 testing hardened concrete.pdf
ADVANCEDCONSTRUCTION
 
Pictorial Guide To Checks On Tankers' IG system
Mahmoud Moghtaderi
 
Artificial Neural Network-Types,Perceptron,Problems
Sharmila Chidaravalli
 
Unit_I Functional Units, Instruction Sets.pptx
logaprakash9
 
NFPA 10 - Estandar para extintores de incendios portatiles (ed.22 ENG).pdf
Oscar Orozco
 
L300 Technical Slide Library_Feb 2025 microsoft purview
macarenabenitez6
 
LLC CM NCP1399 SIMPLIS MODEL MANUAL.PDF
ssuser1be9ce
 
William Stallings - Foundations of Modern Networking_ SDN, NFV, QoE, IoT, and...
lavanya896395
 
Numerical-Solutions-of-Ordinary-Differential-Equations.pptx
SAMUKTHAARM
 
PROGRAMMING REQUESTS/RESPONSES WITH GREATFREE IN THE CLOUD ENVIRONMENT
samueljackson3773
 
OCS353 DATA SCIENCE FUNDAMENTALS- Unit 1 Introduction to Data Science
A R SIVANESH M.E., (Ph.D)
 
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
Fundamentals of Quantitative Design and Analysis.pptx
aliali240367
 
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
template.pptxr4t5y67yrttttttttttttttttttttttttttttttttttt
SithamparanaathanPir
 
Engineering Quiz ShowEngineering Quiz Show
CalvinLabial
 
3rd International Conference on Machine Learning and IoT (MLIoT 2025)
ClaraZara1
 
Información de microsoft purview herramienta de microsoft
macarenabenitez6
 
Diabetes diabetes diabetes diabetes jsnsmxndm
130SaniyaAbduNasir
 
bs-en-12390-3 testing hardened concrete.pdf
ADVANCEDCONSTRUCTION
 
Ad

Azure Static Web Apps

  • 2. What are Azure Static Web Apps? • A slick new way to build, deploy, and host your modern web apps • A clean way to manage your app and its API • A nice ecosystem Let's explore!
  • 3. I'm a JavaScript developer What are my options for quickly deploying my web site on Azure? What if the web site also comes with an API? App Services? Azure Functions? Azure Static Web Apps!
  • 4. Your architecture: front end Add your files to '/app'
  • 5. Your architecture: back end Add your files to '/api
  • 6. Build up the front end This will be an app to give an affirmation. Use Visual Studio Code IDE to leverage its extensions for Azure
  • 7. Enable routes Static web apps need special handling for their routes, so add a routes.json file for the service to route properly
  • 8. Build up the back end Use the structure of Azure Functions within your API folder
  • 9. Run your functions locally using the Node debugger from the VS Code terminal Use the structure of Azure Functions within your API folder Run on localhost
  • 10. Run the front end on localhost to test your app Open a new terminal and use your app's CLI to run `npm run serve`
  • 11. Deploy time! Push to GitHub, then use the Azure Static Web App VS Code extension to create a new static web app on Azure
  • 12. Why GitHub? GitHub is where the build process is managed, via GitHub Actions!
  • 13. A GitHub Actions file is scaffolded for you GitHub is where the build process is managed, via GitHub Actions! When you push to GitHub, your app + API are rebuilt – CI/CD Try the app: https://aka.ms/my- affirmations
  • 14. But wait, there's more! Store tokens!
  • 15. But wait, there's more! Authenticate users!
  • 16. But wait, there's more! Environment management: scaffold a staging site on push to GitHub
  • 17. Bottom line... Azure Static Web Apps are a web developer’s dream come true: easy, free deployments, GitHub integration, and it works great with modern JavaScript stack. Learn more! https://aka.ms/swaframeworks