Skip to content

Quick Start

  1. Generate a project

    Run this in the scaffold directory:

    终端窗口
    npm run dev

    Follow the prompts to choose the frontend framework and backend framework, then enter a project name (only lowercase letters, digits, and hyphens are allowed; the default is my-fullstack-app).

    ? Select a frontend framework: React / Vue
    ? Select a backend framework: Python (FastAPI) / Java (Spring Boot)
    ? Enter a project name: my-project

    The generated project appears in the current directory, with git init and an initial commit performed automatically.

  2. Start the development environment

    终端窗口
    cd my-project
    ./dev.sh start

    dev.sh first installs the frontend and backend dependencies, then starts both services and automatically opens the logs:

    Frontend: http://localhost:5173
    Backend API: http://localhost:8088
    API Docs: http://localhost:8088/docs
  3. Log in to the system

    Open http://localhost:5173 and log in with the default administrator account:

    Username Password Role
    admin 123456 Administrator

In addition to the administrator, the template includes four regular users, all with the password 123456:

Username Name Role
admin Administrator admin (all permissions)
zhangsan Zhang San user
lisi Li Si user
wangwu Wang Wu user
zhaoliu Zhao Liu user

See Default Accounts.

Environment Frontend Backend
Development 5173 8088
Docker 5173 8088 (inside the container, behind the Nginx reverse proxy)