85 Commits
Author SHA1 Message Date
Leon Xu ab7c6c98b8 doc: change from findByIdAndUpdate to findOneAndUpdate 2022-06-06 14:19:12 -07:00
Leon Xu 15aefab5a5 doc: remove badge section from README.md 2022-06-06 11:57:27 -07:00
Leon Xu 826092e4e9 doc: add md5-js package 2022-05-07 22:05:24 -07:00
Leon Xu 4d61d9ce13 fix: typos 2022-05-07 22:02:07 -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 4c56a9a4e2 file: create ChinaCities model with schema 2022-05-07 21:14:59 -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 50332fd3b4 doc: add exported methods to index file 2022-05-07 18:37:43 -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 ed9b244f8a doc: update index.html to remove unused endpoint as well as add nodeScheduler to it 2022-05-04 22:58:04 -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 67e122db34 fix: remove fetch endpoint and ncov controller 2022-05-04 22:37:56 -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 54f26cb72c fix: remove fetchIndividualData route 2022-05-02 12:30:09 -07:00
Leon Xu a38a75d882 doc: add imageData route 2022-05-01 18:51:37 -07:00
Leon Xu 492a699216 doc: add fetchImageData method 2022-05-01 18:41:52 -07:00
Leon Xu 79c3fd4a02 doc: add fetchChinaData and fetchWorldData endpoint 2022-05-01 18:32:23 -07:00
Leon Xu 14d5835446 doc: add fetchChinaData and fetchWorldData method 2022-05-01 18:31:27 -07:00
Leon Xu 2963270c20 doc: add fetch route along with feth router controllers 2022-05-01 16:33:59 -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 594d848020 doc: add TravelPolicy route 2022-04-17 13:34:24 -07:00
Leon Xu 92e8afe3d7 doc: add TravelPreventionSchema to TravelPreventionData file 2022-04-17 13:32:58 -07:00
Leon Xu 6a46a0b80c file: create TravelPrevention data file 2022-04-17 13:32:03 -07:00
Leon Xu 6d5ddd43b3 doc: add <strong> tags to travel api 2022-04-17 13:22:04 -07:00
Leon Xu 72a891b212 doc: add juhe data to README.md 2022-04-17 13:21:00 -07:00
Leon Xu f513501a54 doc: add juhe third party api to index.html 2022-04-17 12:16:07 -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 8ba15e910f doc: add image route 2022-04-13 20:13:53 -07:00
Leon Xu 120023fd64 doc: create ncovImageSchema and ncovImageData model 2022-04-13 20:13:41 -07:00
Leon Xu a0e1bcbc7d file: create ImageData file in models folder 2022-04-13 20:13:14 -07:00
Leon Xu 913ecbcc22 fix: add /api to all paths 2022-04-13 20:09:48 -07:00
Leon Xu 18cdbe13b8 doc: update Usage and Roadmap section on README 2022-04-12 15:07:29 -07:00
Leon Xu c634171643 fix: update path to heroku path 2022-04-12 14:56:33 -07:00
Leon Xu 542133e0bc doc: add travel route 2022-04-12 13:54:38 -07:00
Leon Xu 277e94263c doc: create TraveDataCity method 2022-04-12 13:54:11 -07:00
Leon Xu 6865f0ad5c doc: create TravelSchema and model 2022-04-12 13:52:24 -07:00
Leon Xu 0d65d66614 file: create TravelData model 2022-04-12 13:48:37 -07:00
Leon Xu 9e81af0bc7 doc: add router and get path 2022-04-12 13:01:49 -07:00