No description
Find a file
Levi Lesches d0387c7aa2
Working "find a path" code (#13)
The client first requests stops from the TS server (`0.0.0.0:80`), then the path from the Dart server (`localhost:8001`). It will be trivial to move the TS logic to the Dart server since the Dart server is the one that parsed all that data, and it's anyway in a `JSON` file. 

There is a `server/GET_ROUTES.json` file, but it's not needed. I just included it for easier debugging. `server/GET_STOPS.json` includes both the stops and the routes, and the client does some (inefficient) work to re-organize it.

The Dart server uses a basic A* implementation to sort find direct routes and routes with transfers. The A* logic is in `src/shared/lib/src/graph/graph.dart`. This file defines the state itself, and `package:a_star` on Pub.dev (mine) defines the algorithm. `src/shared/bin/path.dart` is the whole of the Dart server. 

TODO: 
- add unit tests
- this PR breaks almost nothing, so there is duplicate work being done on the client and some unused logic
- return a structured path object for the client to use as it wants. This PR just sends a well-formatted string
2025-05-02 19:55:59 -04:00
.github GitHub Classroom Feedback 2025-02-03 17:26:51 +00:00
.vscode Global docker flag (#9) 2025-05-01 21:52:33 -04:00
etc Create presentation2_review.md 2025-04-28 12:11:52 -04:00
sprints Update client_meeting.md 2025-04-28 12:30:21 -04:00
src Working "find a path" code (#13) 2025-05-02 19:55:59 -04:00
.gitignore Function client to send GET /path to server (#4) 2025-04-02 15:39:57 -04:00
README.md aaaaaaaah 2025-02-19 12:29:14 -05:00

Review Assignment Due Date

<< Project Title >>

CS 445 Final Project

Spring, 2025

Team: << team name >>

  • Spencer Powell
  • Levi Lesches

Getting Started

<>

Roadmap

<< A list of features, function or non-functional, you would like to add in the future if you had time, i.e. Phase 2 stuff

  • Add Changelog
  • Add back to top links
  • Add Additional Templates w/ Examples
  • Add "components" document to easily copy & paste sections of the readme

SRS

doc

Prerequisites

Installing

<< A step by step series of examples that tell you how to get a development env running Clearly outline each step and repeat until the environment is set up. End with an example of getting some output from the system, such as a menu or prompt

Built With

<< list all frameworks and modules used here >>

License

<< Add a license >>

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc