page_type | languages | products | description | urlFragment | |||
---|---|---|---|---|---|---|---|
sample |
|
|
Apps that can be used with as a starting point for some MS Learn Modules. |
Official Microsoft Sample
Follow the hands-on tutorial to publish an Angular, React, Svelte, or Vue JavaScript app and API with Azure Static Web Apps.
Static Web App
This repository contains apps that can be used with as a starting point for some MS Learn Modules. Because everyone has their own preference for their JavaScript frameworks/library, you can choose which one you prefer.
The shopping theme is used throughout the app.
Pre-Reqs
- Familiarity with one of Angular, React, Svelte, or Vue
- Node.js LTS and Git
- GitHub account
- Visual Studio Code
Contents
The apps written in the following JavaScript frameworks/libraries:
folder | Description |
---|---|
angular-app | Sample Angular app |
api-starter | Sample Azure Functions app |
react-app | Sample React app |
svelte-app | Sample Svelte app |
vue-app | Sample Vue app |
Prerequisites
- A GitHub account
- Node.js and Git
- Visual Studio Code installed
- The Azure Functions extension installed
- The Azure Functions Core Tools installed
Problems or Suggestions
Resources
Azure Static Web Apps
- Learn how to Publish an Angular, React, Svelte, or Vue JavaScript app and API with Azure Static Web Apps
- API support in Azure Static Web Apps
- Add an API to Azure Static Web Apps
- Authentication and authorization
- Routes
- Review pre-production environments
Azure Functions
- Learn how to Refactor Node.js and Express APIs to Serverless APIs with Azure Functions
- Learn about the Azure Functions local.settings.json file
- Learn how to Deploy to Azure Using Azure Functions
- Sign up for a Free Trial of Azure
Visual Studio Code
- Azure Free Trial
- VS Code
- VS Code Extension for Node on Azure
- Azure Functions local.settings.json file
Debugging Resources
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.