This repository contains a Vue 3 single-page application and an Express backend API managed through npm workspaces.
apps/
backend/ # Express API server
frontend/ # Vue 3 web application (Vite)
-
Install dependencies:
npm install
-
Start the backend and frontend applications:
npm run dev
The frontend expects the backend to run on http://localhost:4000.
build: npm run build -w backend && npm run build -w frontenddev: concurrently -k -n backend,frontend -c auto \"npm run dev -w backend\" \"npm run dev -w frontend\"lint": npm run lint --workspaces --if-presentstart": npm run start -w backend
GET /api/health– Returns service status and uptime information.GET /api/todos– Returns a list of example todos consumed by the Vue application.
The frontend uses a Pinia store and an Axios-based API client to communicate with the backend.