Skip to content
COMP 523.002 · Team C

Architecture diagram

Layered client–server, running on a single machine. The UI never talks to LieOptics directly. Every request flows through one typed API layer to a thin Python service that wraps the client's package. Communication is local only (localhost on one machine); no data leaves the user's computer.

← All deliverables

Architecture diagramUser's computer (localhost only, nothing leaves the machine)Electron desktop appclicks, editstyped requestsHTTP + JSONPython callssave / open (IPC)read / writeUserOptical engineer,researcher, orstudentRenderer UIReact + TypeScript: builder,results, optimizationTyped API clientOne interface; mock and HTTPversionsElectron main processWindows, file dialogs, starts thePython serviceThin Python serviceMaps API calls ontoLieOpticsLieOpticsClient's package,used unmodifiedLocal file systemSaved lens systems (JSON)
Our workInherited from the clientExternalControl / file access
  • User to Renderer UI: clicks, edits
  • Renderer UI to Typed API client: typed requests
  • Typed API client to Thin Python service: HTTP + JSON
  • Thin Python service to LieOptics: Python calls
  • Typed API client to Electron main process: save / open (IPC)
  • Electron main process to Local file system: read / write

External elements

  • Local file system: saved lens systems as JSON, read and written by the Electron main process.
  • LieOptics repository: client-owned source, consumed as a dependency.

Notes

  • Network communication: localhost only; no remote servers.
  • Machines: one. UI, service, and backend run on the user's computer.
  • Our work: renderer UI, API client, Python service, Electron shell, packaging. Inherited: LieOptics.