MicrosoftDocs / mslearn-staticwebapp

Static Web App template repository
MIT License
79 stars 103 forks source link

Learn module still refering to the deleted api files #38

Open Yonet opened 3 years ago

Yonet commented 3 years ago

See Learn Module api step

CindyKee commented 3 years ago

Why were the API files removed in the first place? Why can't we continue with the Azure Functions tutorial?

eduardogoncalves commented 3 years ago

@CindyKee @Yonet, the API is now in another repo: https://github.com/MicrosoftDocs/mslearn-staticwebapp-api

@microsoftopensource at this repo's README there's a reference to api-starter's folder, but it was removed by @johnpapa

image

image

CindyKee commented 3 years ago

Thank you for finding this for us!

johnpapa commented 3 years ago

I can explain. There are multiple modules in the Learning Path https://docs.microsoft.com/en-us/learn/paths/azure-static-web-apps/

The original module was long and covered a lot of topics. So we split it into two modules. One for creating a SWA and one for adding an API to the SWA. Each module has its own github repo.

SWA module is here https://docs.microsoft.com/en-us/learn/modules/publish-app-service-static-web-app-api/2-exercise-get-started?pivots=react

And it refers to the repo you mentioned above which DOES NOT have an API https://github.com/MicrosoftDocs/mslearn-staticwebapp

The API Learn module is here and here is the github repo it refers to https://github.com/MicrosoftDocs/mslearn-staticwebapp-api

Is there anything else I help clarify?