An interactive segmentation application that combines nnInteractive with Niivue.
git clone [email protected]:niivue/niivue-nninteractive.git
cd niivue-nninteractiveBe sure to set the VITE_API_URL variable in frontend/.env. This defaults to http://localhost:8000, but will need to be modified if you are not running the demo application locally. If the application is running on another machine, use the IP address (or full domain name). This applies to connecting machines over a VPN too.
- Install dependencies using pixi:
pixi install- Start the development server:
pixi run devThe API will be available at http://localhost:8000
- Navigate to the frontend directory:
cd frontend- Install dependencies:
bun install- Start the development server:
bun run devThe frontend will be available at http://localhost:5173
pixi run dev- Start the API development serverpixi run test- backend test suite
bun run dev- Start the development serverbun run build- Build for productionbun run lint- Run lintingbun run preview- Preview production build
