This project is a Vue 2 + Vuetify web app. It supports local development, unit tests, and E2E tests.
- Node.js 14+ (16 or 18 recommended)
- npm or yarn
Install Node.js (if needed):
# Ubuntu/Debian
sudo apt update && sudo apt install nodejs npm
# Or use nvm (recommended)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install 18
nvm use 18To run the UI with the real backend for a local demo:
- Start Neptune_2026 so that:
- HTTP API is on http://localhost:8080
- Socket.IO is on http://localhost:3000
- In this repo run:
npm install npm run dev
- Open http://localhost:8081 in the browser.
The dev server is fixed to port 8081 and proxies /api to the backend (8080) and /socket.io to port 3000. If your backend uses different ports, update vue.config.js devServer.proxy.
# From project root
npm install
# or
yarn installStart the dev server and open the browser:
npm run dev
# or
yarn devOr start without opening the browser:
npm run serve
# or
yarn serveApp URL: http://localhost:8081
/— Landing/login— Login/register— Register/dashboard— Dashboard (requires login)/editor— Editor
npm run build
# or
yarn buildOutput is in dist/, ready for static hosting or deployment (e.g. Vercel via now.json).
npm run test:unit
# or
yarn test:unitTests live in tests/unit/ (*.spec.js).
Start the dev server in one terminal:
npm run serveThen run E2E in another:
npm run test:e2e
# or
yarn test:e2eCypress will open; run the specs under tests/e2e/specs/.
npm run lint
# or
yarn lintnpm install
npm run dev
# Open http://localhost:8081 and click through: Landing, Login, Register, Dashboard, etc.
# Optional:
npm run test:unit
# E2E: run "npm run serve" first, then "npm run test:e2e"- Dev proxy:
vue.config.jsdevServer.proxysends/apitohttp://localhost:8080and/socket.iotohttp://localhost:3000. Change these if Neptune_2026 uses other ports. - Tests: Example E2E/unit tests target Neptune pages (e.g.
#login, Neptune logo). Adjusttests/e2e/specs/test.jsandtests/unit/example.spec.jsif the UI changes.