Commit Graph

15 Commits

Author SHA1 Message Date
Arthur Lu
c9807668ea add cli arg for localdb path 2023-08-03 19:31:11 +00:00
Arthur Lu
070d7714ca add better client sync schemes initialization,
add client sync scheme selects to localdb,
start on interrupt sync scheme implementation,
change sync endpoints to start with /sync/
2023-07-11 22:06:41 +00:00
Arthur Lu
8fb26b274a fix linting issues 2023-07-06 05:13:22 +00:00
Arthur Lu
1e8a4a8c29 lint all files 2023-06-29 21:53:20 +00:00
Arthur Lu
e39f954fc1 add eslinting, fix linting issues 2023-06-29 21:35:19 +00:00
Arthur Lu
a807e5cb03 move source files to src folder,
move localdb to config folder,
consolidate vars.js with localdb,
move service scripts to service folder
2023-06-09 03:58:38 +00:00
Arthur Lu
2cd23324e5 fix formatting 2023-05-17 21:38:11 +00:00
Arthur Lu
a0ebcdf1b0 remove helmet 2023-05-13 05:17:48 +00:00
Arthur Lu
2deda42ec5 update to es6 and fix some syntax errors 2023-04-26 01:18:05 +00:00
Arthur Lu
31ce8ae582 rename index.js to main.js
remove unused imports in main.js,
add function prototypes to db.js
2023-02-26 08:36:27 +00:00
Arthur Lu
b3379bfa3c add old got as dependency (is a security vulnerability),
use axios as http request handler
2023-02-13 02:11:55 +00:00
Arthur Lu
5b03a331ea add echo path,
add cookie-parser to requirements

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:22:26 +00:00
Arthur Lu
5a63b26620 add simple version route
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 15:46:42 -08:00
Arthur Lu
96133f5882 add body-parser for validation,
add cors for CORS headers,
add helmet for security,
add morgan for logging

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 15:10:11 -08:00
Arthur Lu
c3d50f6a30 add package.json,
add gitignore,
add express as dependency

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 14:57:42 -08:00