Commit Graph

16 Commits

Author SHA1 Message Date
979048105e Fix authentication functions
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-07 17:00:15 +01:00
a213014a0b It is a silly idea leaving a 404 to mean successful
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-07 14:39:45 +01:00
9c45ecfdf1 Add proxy set:
- Add app.set('trust proxy', 3)
- Add route /api/v1/ip when in development mode

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-06 22:15:57 +01:00
096ce154da Add rate limiting and tidy up various code.
Will need complete review long before merging to main.

Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-06 22:01:37 +01:00
38cf679da7 Transform the register.request function stack
It now works in dev environment pending testing
2023-04-05 20:53:07 +01:00
8fdac022d7 Add notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 14:13:47 +01:00
853d3bfec8 Add auth test route (Only in app.js)
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 14:13:13 +01:00
1064db3d2f Add authentication middleware
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-05 00:58:48 +01:00
14e0a93d86 Add initial registration functions
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-04-04 21:28:46 +01:00
81d3838588 Tidy app.js code 2023-04-01 14:44:06 +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