dbaeumer / gh-static-e2e

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Codespaces E2E Test Scenario: Static Web App

Setup

  1. Install the Azure Functions extension

  2. Run the following to install Azure Functions Core Tools

    npm i -g azure-functions-core-tools@3 --unsafe-perm true
    

Run the application

  1. The frontend is a React app which is run with...

    npm start
    
  2. The backend is a Functions project that should be started from the run and debug panel.

If you receive an error about "unable to decrypt settings" when trying to run the backend/Functions project, make sure the "IsEncryped" option is set to false in your "api/local.settings.json" file. It is a top level setting outside of "Values"...

```
{
    "IsEncrypted": false,
    "Values": {
        "FUNCTIONS_WORKER_RUNTIME": "node",
    }
}
```

Forward ports

  1. Forward ports 3000 and 7071

About


Languages

Language:JavaScript 76.0%Language:HTML 15.6%Language:CSS 8.4%