Commit graph

29 commits

Author SHA1 Message Date
Levi Lesches
5e24c8ad30 Made sidebar permanent 2025-05-02 02:55:27 -04:00
Levi Lesches
575c4f9a16
Tabs for different providers and better BC route names (#12)
* Made new Sidebar widget with OCCT

* Separate tabs for providers

* Fixed BC data

* Proper sorting for BC
2025-05-02 02:46:03 -04:00
Levi Lesches
c878d08c23
Move data parsing definitions out of the client (#11)
Makes a new (dart) package called `shared`, which contains: 
- the code needed to parse through OCCT and BC data
- any data definitions for types in that data (eg, stops)
- shared utils

The client will then import types from this package. This PR also re-generates the GET_STOPS json file to include OCCT
2025-05-02 02:10:57 -04:00
Levi Lesches
8fdb25f15e
Allow users to pick stops on the map and sidebar (#10)
- download all stops on startup, sort by route
- refactored lat/long textboxes into custom widget
- added a button to show the stops list
- sidebar to filter which routes can show
- clicking on a stop or the map adds that marker to the start/end
2025-05-02 00:09:00 -04:00
Levi Lesches
cd5491e6ec
Global docker flag (#9)
* Added DISABLE_DOCKER to index.ts

* Added debug mode check to client

* GET_STOPS.json file and server.bat
2025-05-01 21:52:33 -04:00
Levi Lesches
c39cbab3dd
Bc stops data as JSON (#7)
* Start script to generate BC data

* Finished BC data

* moved file slightly to account for future addition of OCCT and added /stops endpoint to server

---------

Co-authored-by: Pagwin <git@pagwin.xyz>
2025-04-24 16:39:18 -04:00
Levi Lesches
2705953282
Fixed URI issues, test data format, and draw polyline (#6)
* Fixed base API

* Better parsing of the actual server data

* Removed deno.lock from the repo

* Fixed server responses and added usingDocker

* Fix uris with usingDocker

* Fixed polyline logic to show entire route
2025-04-10 00:48:47 -04:00
Pagwin
1dd661fa80
updated dockerfile for client so it builds proper 2025-04-02 17:18:42 -04:00
Pagwin
c23f963a28
client env template 2025-04-02 17:16:42 -04:00
Levi Lesches
b3fcb692ad
Add Google Maps to the background (#5)
* Added .env file for Google Map API key

* Added google_maps_flutter

* Added map widget to home page

* Maps is working on first try
2025-04-02 17:14:01 -04:00
Pagwin
174a9665dc
client and server are integrated now 2025-04-02 16:59:07 -04:00
Levi Lesches
dc9a3b0e1d
Function client to send GET /path to server (#4)
* Created default project

* Added client to .vscode/launch.json

* Ignore .vscode/settings.json

* Some data scraping

* Client skeleton

* Client data types and fromJson() functions

* Final touches on JSON

* Added ApiService

* ApiService changes

* Prototype for stops

* ViewModel and UI

* Basic client UI
2025-04-02 15:39:57 -04:00
f18509ff1d
Merge in server with some reverse proxy stuff
server is basically fully implemented
2025-04-02 15:37:36 -04:00
Levi Lesches
e41e94ed9f
Update api_spec.md - fix typo 2025-03-24 19:52:52 -04:00
Levi Lesches
ba76aa55da
Update api_spec.md 2025-03-24 19:47:42 -04:00
Levi Lesches
5ee9f2621f
Update api_spec.md 2025-03-24 19:47:02 -04:00
Levi Lesches
0261663e52
Update api_spec.md 2025-03-24 19:29:31 -04:00
6d7583ccf9
Merging in changes from server so levi can do client things 2025-03-24 19:26:18 -04:00
Pagwin
2050379bbb
wrote out an API spec 2025-02-28 13:21:39 -05:00
Pagwin
8cc7ccfc3e
Everything for docker/docker compose done
At least the skeleton which is good enough for now, the flesh can be
filled out by us in a sec including ports for caddy reverse proxy
2025-02-24 13:13:27 -05:00
Pagwin
85645ce3d1
added reverse proxy folder 2025-02-21 12:57:00 -05:00
Pagwin
3cee347b5a
e 2025-02-19 12:42:54 -05:00
Pagwin
0f8695636f
added weekday, forgot I needed that 2025-02-07 23:43:27 -05:00
Pagwin
44504fd4d9
pain 2025-02-06 18:07:13 -05:00
Pagwin
796757cf40 decreased frequency to once per 5 seconds 2025-02-06 17:11:24 -05:00
Pagwin
a7d993861d
not putting into postgres atm but logging everything 2025-02-05 15:36:16 -05:00
Pagwin
17548fec12
e 2025-02-05 14:30:34 -05:00
Pagwin
37c4b8caaa
gathering data for later use 2025-02-05 13:56:00 -05:00
github-classroom[bot]
782c2f51e4
Initial commit 2025-01-22 14:38:45 +00:00