The React frontend lives in frontend and calls your C++ algorithm functions through the Express API server in server.
- Build the backend executable (from the
backenddirectory):cmake -S . -B buildcmake --build build --target aeroroute
- Start the API server (from the
serverdirectory):npm installnpm run dev
- Start the frontend (from the
frontenddirectory):npm installnpm run dev
- Open
http://localhost:5173
The API server runs on http://localhost:3000 and invokes backend/build/aeroroute, which uses:
findallroutes(...)adjacency_list(...)dijkstras(...)a_star(...)