Skip to content

Latest commit

 

History

History

README.md

JavaScript App Sample

Prerequisites

Refer to the README doc for preparation.

Getting Started

Run FastAPI Backend

Use Python App Sample.

NOTE: If you use GitHub Codespaces, make sure that the Python app port, 8000, is set to public.

Run React Frontend

  1. Get the repository root.

    # bash/zsh
    REPOSITORY_ROOT=$(git rev-parse --show-toplevel)
    # PowerShell
    $REPOSITORY_ROOT = git rev-parse --show-toplevel
  2. Install npm packages.

    cd $REPOSITORY_ROOT/complete/javascript
    npm install
  3. Run the app.

    npm run dev
  4. Open a web browser and navigate to http://localhost:3000.

  5. Verify if the web application is running properly.