- Node.js 18+ (check with
node --version) - npm or yarn
- Backend server running on http://localhost:8000
-
Install dependencies
cd frontend npm install -
Start development server
npm run dev
The application will be available at http://localhost:3000
-
Run with backend (recommended)
npm run dev:all
This starts both the backend and frontend servers concurrently.
Nuxt environment variables are configured in nuxt.config.ts. Currently, the app uses Nitro route rules for API proxying:
nitro: {
routeRules: {
'/db/**': { proxy: 'http://localhost:8000/api/**' }
}
}This proxies frontend requests from /db/** to the backend API at /api/**.