Commit Graph

9 Commits

Author SHA1 Message Date
e83cf890e7 fix formatting 2023-05-17 21:38:11 +00:00
b2347fd709 remove helmet 2023-05-13 05:17:48 +00:00
3209c33b4e update to es6 and fix some syntax errors 2023-04-26 01:18:05 +00:00
c9595980cd 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
1db0d1e80f add old got as dependency (is a security vulnerability),
use axios as http request handler
2023-02-13 02:11:55 +00:00
a6b8ecf133 add echo path,
add cookie-parser to requirements

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:22:26 +00:00
8e1bf19d90 add simple version route
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 15:46:42 -08:00
ae0c197821 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
d6af5518de 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