30 Commits
Author SHA1 Message Date
Leon Xu ab7c6c98b8 doc: change from findByIdAndUpdate to findOneAndUpdate 2022-06-06 14:19:12 -07:00
Leon Xu fb8d34d42c fix: add spacing to methods 2022-05-07 21:20:07 -07:00
Leon Xu f9863b66e4 doc: remove displaying result in travelPolicy 2022-05-07 21:18:01 -07:00
Leon Xu c5fa80a2d5 doc: add comment to fetchChinaData method 2022-05-07 19:44:21 -07:00
Leon Xu c95df3a403 doc: add ids for each method and use findByIdAndUpdate to update the documents of that id 2022-05-07 19:44:01 -07:00
Leon Xu 7b07863cee doc: remove the name of each scheduleJob method 2022-05-07 19:30:02 -07:00
Leon Xu f2659e50d3 doc: change jobs to 5 minute interval and remove cancelJob for each of the method 2022-05-07 19:29:12 -07:00
Leon Xu ffde8c6ad6 doc: update different minute for fetchAbroadData, ChinaData and WorldData method 2022-05-07 19:06:35 -07:00
Leon Xu 42df735a58 doc: change times to perform schedule jobs 2022-05-07 18:37:24 -07:00
Leon Xu ad73f5e27a make it better 2022-05-07 17:00:08 -07:00
Leon Xu eb6f789b08 fix: remove all export const method and replace it with ScheduleJob method to specific third-party endpoint data 2022-05-04 22:49:57 -07:00
Leon Xu ad3b422984 fix: change from fetchChinaData to fetchAllChinaData method 2022-05-04 22:36:25 -07:00
Leon Xu a30c083750 doc: add fetchAbroadData method 2022-05-04 22:35:16 -07:00
Leon Xu 688c3f6423 doc: add scheduleJob to those that needs to fetch job 2022-05-04 22:20:38 -07:00
Leon Xu 492a699216 doc: add fetchImageData method 2022-05-01 18:41:52 -07:00
Leon Xu 14d5835446 doc: add fetchChinaData and fetchWorldData method 2022-05-01 18:31:27 -07:00
Leon Xu 51f4d0c6af fix: remove sending parseData to browser, instead, store it directly in the database 2022-05-01 16:33:34 -07:00
Leon Xu 3994775458 doc: add fetch all data and individual data method 2022-05-01 16:31:56 -07:00
Leon Xu 421130250e file: create ncovFetchData file 2022-05-01 16:31:08 -07:00
Leon Xu 3b0e041add fix: url error in TravelPolicy method 2022-04-17 13:38:41 -07:00
Leon Xu 1a8a9475ed doc: add TravelPolicy function 2022-04-17 13:35:31 -07:00
Leon Xu bae97b9764 doc & fix: add ImageData model in controller and getImage method and add error in TravelDataCity method 2022-04-13 20:14:51 -07:00
Leon Xu 277e94263c doc: create TraveDataCity method 2022-04-12 13:54:11 -07:00
Leon Xu c31a720135 doc: create WorldData method 2022-04-12 13:00:01 -07:00
Leon Xu c10376cbf8 doc: create ChinaData method 2022-04-12 12:59:28 -07:00
Leon Xu 552c7a988e doc: create getAbroadData method 2022-04-12 12:58:05 -07:00
Leon Xu 953484a79a doc: add ncovChinaData model to getChinaData methods 2022-04-12 12:55:53 -07:00
Leon Xu ea9e29254c doc: importing models directory 2022-04-12 12:55:21 -07:00
Leon Xu 4e7ed46e26 doc: add getChinaData method 2022-04-12 12:38:07 -07:00
Leon Xu 3c89aa6791 file: create ncov file in controller 2022-04-12 12:07:37 -07:00