Short and practical. Follow these steps to get the app running fast.
- Node.js 20 LTS (recommended).
- npm (comes with Node).
- The backend running on
http://localhost:8080and exposing the API under/api.
Check versions:
node -v
npm -vFrom the project root:
npm ci # or: npm installEdit src/environments/environments.ts and set your backend:
export const environment = {
production: false,
apiBaseUrl: "http://localhost:8080",
apiPrefix: "/api",
endpoints: {
/* … keep as is … */
},
} as const;If your backend runs on another host or path, change apiBaseUrl and apiPrefix.
Start your Spring Boot API (make sure Swagger works at /swagger-ui/index.html).
Confirm that GET http://localhost:8080/api/users/all responds when authenticated.
npm startThen open http://localhost:4200
You can pass CLI flags:
npm start -- --port 4300 --opennpm run buildStatic files are in dist/arch-manager-front/browser. Serve them with any static server:
npx http-server dist/arch-manager-front/browser -p 4200If you deploy under a sub-path, build with a base href:
ng build --base-href /my/subpath/npm testnpm start→ dev server (ng serve)npm run build→ production buildnpm run watch→ dev build watch modenpm test→ unit tests (Jasmine + Karma)
- Port already in use → pick another:
npm start -- --port 4300. - Old cache/build → clean and reinstall:
rm -rf node_modules dist .angular
npm ci- 401s from API → ensure the front sends a JWT and that your backend accepts
Authorization: Bearer ….
- Login/Register works and a token is stored.
/projectsloads and lists projects.- You can connect to one project and open “Current Project”.
- Graph page loads, you can zoom/pan and toggle labels.
- Scaling works (pick
level,hops,strategy) and filtering bynodeTypes/linkLabelsresponds. - Import/mutate only appear when connected to a project.