Azure-Samples / contoso-real-estate

Intelligent enterprise-grade reference architecture for JavaScript, featuring OpenAI integration, Azure Developer CLI template and Playwright tests.
MIT License
860 stars 511 forks source link

fix: remove double entry '@azure/functions' package #398

Closed glaucia86 closed 10 months ago

glaucia86 commented 10 months ago

This Pull Request is related with the issue #396

cc: @dfberry

glaucia86 commented 10 months ago

Sending the PR according to the issue mentioned by @dfberry

Remember that, to reproduce, go to the folder: api-v4. Inside the folder, create a file called: local.settings.json and put the following code:

{
  "IsEncrypted": false,
  "Values": {
    "FUNCTIONS_WORKER_RUNTIME": "node",
    "AzureWebJobsFeatureFlags": "EnableWorkerIndexing"
  }
}

Then type the command: npm i && npm start. You will see the list of APIs created in this new version. To test, click on "Open in Browser."

Captura-de-tela-2023-11-05-130252.png

And then include in the end of the url: <codespaces-url>/api/listings