Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/womb0comb0/my-static-web-app-and-api
https://github.com/womb0comb0/my-static-web-app-and-api
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/womb0comb0/my-static-web-app-and-api
- Owner: WomB0ComB0
- License: cc-by-4.0
- Created: 2024-03-01T02:44:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-01T05:40:34.000Z (10 months ago)
- Last Synced: 2024-03-02T05:39:32.466Z (10 months ago)
- Language: TypeScript
- Size: 4.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
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-api'
---# 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](https://docs.microsoft.com/learn/modules/publish-app-service-static-web-app-api/?WT.mc_id=mslearn_staticwebappapi-github-jopapa).
## 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-api/blob/main/angular-app) |
| **api-starter** | [Sample Azure Functions app](https://github.com/MicrosoftDocs/mslearn-staticwebapp-api/blob/main/api-starter) |
| **react-app** | [Sample React app](https://github.com/MicrosoftDocs/mslearn-staticwebapp-api/blob/main/react-app) |
| **svelte-app** | [Sample Svelte app](https://github.com/MicrosoftDocs/mslearn-staticwebapp-api/blob/main/svelte-app) |
| **vue-app** | [Sample Vue app](https://github.com/MicrosoftDocs/mslearn-staticwebapp-api/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=mslearn_staticwebappapi-github-jopapa) installed
- The [Azure Functions extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions?WT.mc_id=mslearn_staticwebappapi-github-jopapa) installed
- The [Azure Functions Core Tools](https://docs.microsoft.com/azure/azure-functions/functions-run-local?WT.mc_id=mslearn_staticwebappapi-github-jopapa) 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=mslearn_staticwebappapi-github-jopapa)
- [API support in Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/apis?wt.mc_id=mslearn_staticwebappapi-github-jopapa)
- [Add an API to Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/add-api?wt.mc_id=mslearn_staticwebappapi-github-jopapa)
- [Authentication and authorization](https://docs.microsoft.com/azure/static-web-apps/authentication-authorization?wt.mc_id=mslearn_staticwebappapi-github-jopapa)
- [Routes](https://docs.microsoft.com/azure/static-web-apps/routes?wt.mc_id=mslearn_staticwebappapi-github-jopapa)
- [Review pre-production environments](https://docs.microsoft.com/azure/static-web-apps/review-publish-pull-requests?wt.mc_id=mslearn_staticwebappapi-github-jopapa)### 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=mslearn_staticwebappapi-github-jopapa)
- Learn about the Azure Functions [local.settings.json](https://docs.microsoft.com/azure/azure-functions/functions-run-local#local-settings-file?wt.mc_id=mslearn_staticwebappapi-github-jopapa) file
- Learn how to [Deploy to Azure Using Azure Functions](https://code.visualstudio.com/tutorials/functions-extension/getting-started?wt.mc_id=mslearn_staticwebappapi-github-jopapa)
- Sign up for a [Free Trial of Azure](https://azure.microsoft.com/free/?wt.mc_id=mslearn_staticwebappapi-github-jopapa)### Visual Studio Code
- [Azure Free Trial](https://azure.microsoft.com/free/?wt.mc_id=mslearn_staticwebappapi-github-jopapa)
- [VS Code](https://code.visualstudio.com?wt.mc_id=mslearn_staticwebappapi-github-jopapa)
- [VS Code Extension for Node on Azure](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-node-azure-pack&WT.mc_id=mslearn_staticwebappapi-github-jopapa)
- Azure Functions [local.settings.json](https://docs.microsoft.com/azure/azure-functions/functions-run-local#local-settings-file?WT.mc_id=mslearn_staticwebappapi-github-jopapa) file### Debugging Resources
- [Debugging Angular in VS Code](https://code.visualstudio.com/docs/nodejs/angular-tutorial?wt.mc_id=mslearn_staticwebappapi-github-jopapa)
- [Debugging React in VS Code](https://code.visualstudio.com/docs/nodejs/reactjs-tutorial?wt.mc_id=mslearn_staticwebappapi-github-jopapa)
- [Debugging Vue in VS Code](https://code.visualstudio.com/docs/nodejs/vuejs-tutorial?wt.mc_id=mslearn_staticwebappapi-github-jopapa)## 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.