18 Commits
Author SHA1 Message Date
Leon Xu d1fa3565e2 fix: update the nodemailer to remove the export function from notification 2023-12-30 17:09:31 -08:00
Leon Xu 676a486878 fix; updated the nodemailer 2023-12-30 17:02:04 -08:00
Leon Xu a1bfb58be0 file & doc: create nodemailer library and added its functionality 2023-12-30 16:45:24 -08:00
Leon Xu 43944e31e3 feat: create addUserEmailToProduct function 2023-12-30 16:42:44 -08:00
Leon Xu e29d28ac18 feat: added getSimilarProducts 2023-12-30 15:59:33 -08:00
Leon Xu 5d3adf2c76 fix: update the product.model reviewCount to reviewsCount 2023-12-30 15:24:45 -08:00
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