This project uses pnpm as the package manager. Before working on the project, make sure you have pnpm installed.
If you don't have pnpm installed, you can install it with npm:
npm install -g pnpm
To install project dependencies:
pnpm install
To run the development server:
pnpm dev
If you want to run only the server or client separately:
# Run only the backend server
pnpm server
# Run only the frontend client
pnpm client
If you're experiencing issues:
-
Run the diagnostic tool to check connectivity:
pnpm diagnose
-
Check dependencies:
pnpm check-deps
If you see errors like "npm error enoent Could not read package.json", you might be using npm instead of pnpm. Always use pnpm commands for this project:
- Instead of
npm install
, usepnpm install
- Instead of
npm run dev
, usepnpm dev
- Instead of
npm start
, usepnpm start
/client
: Contains the Vue.js frontend code/server
: Contains backend server code/tools
: Contains utility scripts for diagnostics and checks- Root files:
index.js
: Entry point that loads the server codepackage.json
: Project configuration and dependencies.env
: Environment variables (create this file based on.env.example
)