Skip to content

Cirrus-8691/PathFinderService

Repository files navigation

Node.js with TypeScript path finder

license:GPL Language:TypeScript Server:Fastify unitTests:mocha+chai

Node.js CI

Author : Frédéric Diaz
This is a micro service used to find the fastest or eco path between two vertices in a graph.

Getting started

  • Donwload the source, then to install dependencies, type :
npm install
  • To run the project use :
npm start
  • Open http://127.0.0.1:3000/api url in your browser.
  • You should see Hello, friend with a set of sample url to run the service.

hello

error 500

Other tests

  • To run the unit tests, type :
npm test

Continuous integration

The Github repository has two workflows in "Actions" defined in the Yaml files in ./github/workflows/
The Manual workflow can be used to run (click on "Run Workflow" button) the unit tests in the Github pipeline. NB : Refresh the HTML page if nothing moves.
The other workflow Node.js CI is used for continuous integration.

CI

You can see the result of the Unit tests in the web console.

CI

About

Path finder service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published