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 |
|
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
|
9b2fe14f9a
|
doc: create WorldNcovSchema schema and model
|
2022-04-12 12:53:20 -07:00 |
|
Leon Xu
|
ebc0ff1c12
|
file: create WorldData in models directory
|
2022-04-12 12:51:53 -07:00 |
|
Leon Xu
|
760a48a7f4
|
doc: create ChinaNcovData schema and model
|
2022-04-12 12:51:17 -07:00 |
|
Leon Xu
|
b16c985064
|
file: create ChinaData in models directory
|
2022-04-12 12:49:35 -07:00 |
|
Leon Xu
|
5d2e829ccf
|
doc: add ncovAbroadSchema and model
|
2022-04-12 12:45:56 -07:00 |
|
Leon Xu
|
8b70536514
|
file: create ncovAbroadData in models directory
|
2022-04-12 12:42:17 -07:00 |
|
Leon Xu
|
3ccc395e25
|
fix: remove semicolon after Date.now()
|
2022-04-12 12:41:52 -07:00 |
|
Leon Xu
|
1c535b4830
|
doc: add ncovChinaSchema and model
|
2022-04-12 12:41:01 -07:00 |
|
Leon Xu
|
03577c3c59
|
file: create ncovChinaData with mongoose Schema and model
|
2022-04-12 12:39:08 -07:00 |
|
Leon Xu
|
4e7ed46e26
|
doc: add getChinaData method
|
2022-04-12 12:38:07 -07:00 |
|
Leon Xu
|
7502eba284
|
fix: change from routes to path and update / to /api
|
2022-04-12 12:33:13 -07:00 |
|
Leon Xu
|
8bf8fc3655
|
fix: update path to remove the endpoint
|
2022-04-12 12:31:29 -07:00 |
|
Leon Xu
|
74ccb38e12
|
fix: change from parameters to routes
|
2022-04-12 12:31:03 -07:00 |
|
Leon Xu
|
4af3425684
|
fix: change endpoints th to td
|
2022-04-12 12:30:28 -07:00 |
|
Leon Xu
|
d737c4e873
|
doc & fix: update description from the first parameters and add other parameters
|
2022-04-12 12:28:38 -07:00 |
|
Leon Xu
|
56b27a4fd9
|
doc: add parameters and tables
|
2022-04-12 12:26:16 -07:00 |
|
Leon Xu
|
ed1d46fad3
|
doc: add styles
|
2022-04-12 12:17:51 -07:00 |
|
Leon Xu
|
b8257e788e
|
doc: add stylesheets and contents to body
|
2022-04-12 12:17:41 -07:00 |
|
Leon Xu
|
8ac37b3d9c
|
doc: create a public directory
|
2022-04-12 12:14:34 -07:00 |
|
Leon Xu
|
3ce002c257
|
file: create styles.css
|
2022-04-12 12:13:18 -07:00 |
|
Leon Xu
|
b25d62c105
|
file: create index.html with default HTML template
|
2022-04-12 12:13:11 -07:00 |
|
Leon Xu
|
357b4e63d0
|
file: create ncov in routes
|
2022-04-12 12:08:08 -07:00 |
|
Leon Xu
|
3c89aa6791
|
file: create ncov file in controller
|
2022-04-12 12:07:37 -07:00 |
|
Leon Xu
|
cb3b25ff9a
|
doc: update index file
|
2022-04-12 12:07:09 -07:00 |
|
Leon Xu
|
e4805221bc
|
file: create index.js entry point
|
2022-04-12 12:02:42 -07:00 |
|
Leon Xu
|
29321fab4b
|
file: initialize package.json
|
2022-04-12 12:01:21 -07:00 |
|
Leon Xu
|
756d17acdd
|
doc: update README
|
2022-04-12 11:59:16 -07:00 |
|
Leon Xu
|
a2ac674415
|
file: create gitignore
|
2022-04-12 11:59:05 -07:00 |
|