Important
Neo UI Framework is for development and testing purposes. For production-grade deployment, refer to the latest Neo deployment from the NetApp Innovation Labs repository.
When running the Neo backend externally, the following configuration needs to be considered:
The application uses Vite's environment variable system:
VITE_API_BASE_URL- Base URL for API requests (default:/api)
For containerized deployments, configure the Neo API endpoint:
docker run -e NEO_API=http://neo-backend:8080 neo-ui-frameworkThe entrypoint.sh script injects this value into nginx configuration at runtime.
- Node.js 20+ and npm 10+
- Docker and Docker Compose (for containerized deployment)
- Access to a NetApp Neo API instance
- A running Neo v2.2.6 instance Neo Quickstart
-
Clone the repository:
git clone https://github.com/NetApp/neo-ui-framework cd neo-ui-framework -
Install dependencies:
npm install
-
Run the dev server:
npm run dev
The application will be available at http://localhost:5173
The development proxy is configured in vite.config.ts to forward /api requests to your Neo API backend instance (default: http://localhost:8081).
Important
While Podman can be used, the rootless nature does not allow Neo to mount SMB shares in the container. Either use Docker or run Podman in rootful using sudo.
This approach bundles both the Neo instance and UI together for an easer deployment.
The docker compose configuration runs three services:
neo-smb, a simple SMB server for testing purposes onlynetapp-neo-ui, the Neo UI frameworknetapp-neo, NetApp Neo instance. all running in a dedicated container network.
The included docker-compose.yml provides a complete development stack:
```bash
docker-compose up -d
```
This starts:
- a SMB server on port 445 that you access locally to add files to (doc, docx, ppt, pdf, ...)
- the Neo UI on port 8080 with a preconfigured proxy for API requests to the Neo backend
- the Neo backend
Environment variables should be customized in docker-compose.yml or via a .env file as per Neo Quickstart to connect to your Microsoft GraphQL tenant and Copilot.