My goal of this project was to implement from scratch Graph data structure and Dijkstra algorithm in Typescript.
To visualize how it's working, you can find shortest path on map of shop to product you're searching for from different starting points.
Online version: https://pathfinding-app.vercel.app
Technology stack: React
Typescript
Download this repo:
git clone https://github.com/maciejb2k/wayfinding-js.git
Install and run, this command will run in parallel dev server and json-server:
Using NPM:
npm install
npm run start
Using Yarn:
yarn install
yarn start
Below I've made concept UI of how it's going to looks like.