Commit Graph

32 Commits

Author SHA1 Message Date
24bbf5df87 Port routes to TS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 20:39:25 +01:00
12876f8964 Remove console logging from app.js
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 20:36:04 +01:00
741e570189 Begin migration to Pino for logs
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-24 21:35:36 +01:00
5072d473bb Remove legacy rate-limit headers
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-10 21:42:20 +01:00
eb1245c42a Remove X-Powered-By header
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-10 21:41:50 +01:00
5db9d8e52a Remove unneccasaty comments
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-26 00:50:19 +01:00
31f104f51b Run prettier
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-08-26 00:38:26 +01:00
159c46c4cc Add support for deploying from TS source
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-28 20:51:43 +01:00
81a859a8d9 Conversion to TS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-24 01:04:55 +01:00
e79985cb5a Fix CORS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-09 07:37:21 +01:00
6cbf91c775 Update CORS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-09 07:18:22 +01:00
681cf873dd Update CORS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-08 18:57:41 +01:00
69f72dfff1 Return unauthorised at the controller level rather than at middleware level
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-07-08 18:39:24 +01:00
07a0dd6f28 Update authed endpoints
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-26 22:37:01 +01:00
eb80d7386e Add /api/v2/user/...
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-20 19:51:15 +01:00
a4d82b0aa7 Implement train and timetable
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-19 21:34:14 +01:00
34d00ad16f /api/v2/ref now available
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-17 23:04:42 +01:00
a04570c9e4 /api/v2/pis Ready to go
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-17 22:14:58 +01:00
06259e3d9f Enable CORS from any origin
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-17 21:53:36 +01:00
e4255e9cbf Enable CORS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-13 13:46:01 +01:00
43fd6db4b9 Prepare for LDBSV 2023-06-11 19:42:39 +01:00
c0f0591866 Furhter work on trainSErvice endpoint
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-07 12:05:35 +01:00
d879d544fe eslint fixes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-06-07 11:46:41 +01:00
b32c34fe7d Fix require misspelling
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-05-31 20:16:41 +01:00
f6190bb1c9 Add find by headcode for train services
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-05-31 20:04:00 +01:00
7da713526f pis (#12)
Reviewed-on: #12
2023-05-06 21:54:49 +01:00
45b049714f Add level to logs in app.js
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-03-30 21:10:39 +01:00
48843203b0 Remove Comments
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-21 11:01:52 +00:00
d10d558715 - Remove Static, Remove DbInit, Adjust awaits, increment version
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-16 21:25:19 +00:00
b1940bcfbb Removed unneccesary vars and added notes for tidyup
in preparation for testing additional info

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-16 10:39:19 +00:00
fdf489ccf9 Depreciate dbinit - moved functionailty to db-manager
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-12 20:59:05 +00:00
f2bd261414 Initial Push (v0.0.2)
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-02-09 20:34:53 +00:00