Leon Xu
|
64fb1f7ac9
|
feat: created getAllProducts feature
|
2023-12-30 14:17:09 -08:00 |
|
Leon Xu
|
39fdf4c88d
|
feat: created getProductById feature in actions library
|
2023-12-30 14:12:12 -08:00 |
|
Leon Xu
|
f8991b8709
|
doc: added scrapedProduct to see if there's anyone of them are in the database, if there isn't, we created it. If it is there, we just updated the revalent price.
|
2023-12-30 14:06:23 -08:00 |
|
Leon Xu
|
9b3c05f831
|
doc: updated product.model mongoose schema
|
2023-12-30 14:05:20 -08:00 |
|
Leon Xu
|
eb85e4eeab
|
file & create: create product.model schema and add schemas to what the database need to be stored.
|
2023-12-30 13:54:16 -08:00 |
|
Leon Xu
|
85f2d80bc9
|
file & doc: create monggose in the lib folder and added functions to invoke database connection
|
2023-12-30 13:48:03 -08:00 |
|
Leon Xu
|
1ef2fde091
|
fix: change from console.log to return
|
2023-12-30 13:22:00 -08:00 |
|
Leon Xu
|
cb6c450bc6
|
fix: added description function to the data so it can be properly fetched
|
2023-12-30 13:20:49 -08:00 |
|
Leon Xu
|
a76e139dd7
|
doc: added extractDescription function
|
2023-12-30 13:19:52 -08:00 |
|
Leon Xu
|
a0023b7785
|
file & doc: create and update the actions index file
|
2023-12-30 13:16:29 -08:00 |
|
Leon Xu
|
8e6c8c5511
|
file & doc: create and update the scraper index file
|
2023-12-30 13:16:16 -08:00 |
|
Leon Xu
|
01392c6961
|
file: created utils in the library directory
|
2023-12-30 13:15:47 -08:00 |
|