Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davidm42/my-static-web-app-authn

azure schulund static web app svelte
https://github.com/davidm42/my-static-web-app-authn

Last synced: about 2 months ago
JSON representation

azure schulund static web app svelte

Awesome Lists containing this project

README

        

---
page_type: sample
languages:
- javascript
- typescript
products:
- azure functions
description: 'Apps that can be used with as a starting point for some MS Learn Modules.'
urlFragment: 'https://github.com/MicrosoftDocs/mslearn-staticwebapp-authentication'
---

# Official Microsoft Sample

Follow the hands-on tutorial to [authenticate users in a web app using Angular, React, Svelte, or Vue JavaScript with Azure Static Web App](https://docs.microsoft.com/learn/modules/publish-static-web-app-authentication/?WT.mc_id=javascript-12560-yolasors).

## 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.

## Contents

The apps written in the following JavaScript frameworks/libraries:

| folder | Description |
| --------------- | ------------------------------------------------------------------------------------------------------------- |
| **angular-app** | [Sample Angular app](https://github.com/MicrosoftDocs/mslearn-staticwebapp-authentication/blob/main/angular-app) |
| **api** | [Sample Azure Functions app](https://github.com/MicrosoftDocs/mslearn-staticwebapp-authentication/blob/main/api) |
| **react-app** | [Sample React app](https://github.com/MicrosoftDocs/mslearn-staticwebapp-authentication/blob/main/react-app) |
| **svelte-app** | [Sample Svelte app](https://github.com/MicrosoftDocs/mslearn-staticwebapp-authentication/blob/main/svelte-app) |
| **vue-app** | [Sample Vue app](https://github.com/MicrosoftDocs/mslearn-staticwebapp-authentication/blob/main/vue-app) |

## Prerequisites

- A GitHub account
- [Node.js and Git](https://nodejs.org/)
- [Visual Studio Code](https://code.visualstudio.com/?WT.mc_id=javascript-12560-yolasors) installed
- The [Azure Functions extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions?WT.mc_id=javascript-12560-yolasors) installed
- The [Azure Functions Core Tools](https://docs.microsoft.com/azure/azure-functions/functions-run-local?WT.mc_id=javascript-12560-yolasors) installed

## Problems or Suggestions

[Open an issue here](https://github.com/MicrosoftDocs/mslearn-staticwebapp-api/issues)

## Resources

### Azure Static Web Apps

- Learn how to [Publish an Angular, React, Svelte, or Vue JavaScript app and API with Azure Static Web Apps](https://docs.microsoft.com/learn/modules/publish-app-service-static-web-app-api?wt.mc_id=javascript-12560-yolasors)
- [API support in Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/apis?wt.mc_id=javascript-12560-yolasors)
- [Add an API to Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/add-api?wt.mc_id=javascript-12560-yolasors)
- [Authentication and authorization](https://docs.microsoft.com/azure/static-web-apps/authentication-authorization?wt.mc_id=javascript-12560-yolasors)
- [Routes](https://docs.microsoft.com/azure/static-web-apps/routes?wt.mc_id=javascript-12560-yolasors)
- [Review pre-production environments](https://docs.microsoft.com/azure/static-web-apps/review-publish-pull-requests?wt.mc_id=javascript-12560-yolasors)

### Azure Functions

- Learn how to [Refactor Node.js and Express APIs to Serverless APIs with Azure Functions](https://docs.microsoft.com/learn/modules/shift-nodejs-express-apis-serverless/?wt.mc_id=javascript-12560-yolasors)
- Learn about the Azure Functions [local.settings.json](https://docs.microsoft.com/azure/azure-functions/functions-run-local#local-settings-file?wt.mc_id=javascript-12560-yolasors) file
- Learn how to [Deploy to Azure Using Azure Functions](https://code.visualstudio.com/tutorials/functions-extension/getting-started?wt.mc_id=javascript-12560-yolasors)
- Sign up for a [Free Trial of Azure](https://azure.microsoft.com/free/?wt.mc_id=javascript-12560-yolasors)

### Visual Studio Code

- [Azure Free Trial](https://azure.microsoft.com/free/?wt.mc_id=javascript-12560-yolasors)
- [VS Code](https://code.visualstudio.com?wt.mc_id=javascript-12560-yolasors)
- [VS Code Extension for Node on Azure](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-node-azure-pack&WT.mc_id=javascript-12560-yolasors)
- Azure Functions [local.settings.json](https://docs.microsoft.com/azure/azure-functions/functions-run-local#local-settings-file?WT.mc_id=javascript-12560-yolasors) file

### Debugging Resources

- [Debugging Angular in VS Code](https://code.visualstudio.com/docs/nodejs/angular-tutorial?wt.mc_id=javascript-12560-yolasors)
- [Debugging React in VS Code](https://code.visualstudio.com/docs/nodejs/reactjs-tutorial?wt.mc_id=javascript-12560-yolasors)
- [Debugging Vue in VS Code](https://code.visualstudio.com/docs/nodejs/vuejs-tutorial?wt.mc_id=javascript-12560-yolasors)

# 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](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

# Legal Notices

Microsoft and any contributors grant you a license to the Microsoft documentation and other content
in this repository under the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/legalcode),
see the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https://opensource.org/licenses/MIT), see the
[LICENSE-CODE](LICENSE-CODE) file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation
may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries.
The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks.
Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.

Privacy information can be found at https://privacy.microsoft.com/en-us/

Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents,
or trademarks, whether by implication, estoppel or otherwise.