A monorepo with a Node/Express API and a React + Vite web frontend.
- Node.js >= 18 < 21
- npm >= 9
- Open a terminal and navigate to the API folder:
cd api
- Create your environment file from the example:
- PowerShell:
Copy-Item .env.example .env - Bash:
cp .env.example .env
- PowerShell:
- Install dependencies:
npm install
- Start the API in development mode:
npm run dev
- Verify it is running:
- Visit
http://localhost:8080/healthz
- Visit
- Open another terminal and navigate to the web folder:
cd web
- Install dependencies:
npm install
- Start the web dev server:
npm run dev
- Open the app in your browser:
- The terminal will display a local URL, usually
http://localhost:5173
- The terminal will display a local URL, usually
mediscan-ai/
api/ # Node/Express server
web/ # React + Vite frontend