Repository for the APP (ReactJS) and API (.NET6) projects of the Six degrees in a galaxy far, far away (sdiagffa) application.
Finds the shortest connection between two characters in the Star Wars universe. At the moment, connection is limited to the films the characters were in, or their listed homeworld (planet).
Based on the concept, six degrees of Kevin Bacon. Data provided by the endpoints in Starwars API
\sdiagffa> dotnet restore
\sdiagffa> dotnet build
\sdiagffa\sdiagffa.ui> npm install
\sdiagffa\sdiagffa.ui> npm run build
These commands will retrieve the package dependencies of both projects then build the applications.
\sdiagffa> dotnet test
\sdiagffa\sdiagffa.ui> npm run test
With these commands, both the project's test suites will be executed.
\sdiagffa\sdiagffa.host> dotnet run --urls="https://localhost:44300"
\sdiagffa\sdiagffa.ui> npm run dev
In these commands, each project will run on its own process. To view the application, navigate to the port opened by the npm run dev
command (default is https://localhost:3000).
NOTE: The APP is hard-coded to call the API at https://localhost:44300.