59 Commits
Author SHA1 Message Date
Leon Xu c2219d12fa fix: updated the maxDuration once again to 5 due to Vercel error 2023-12-30 17:37:17 -08:00
Leon Xu e3e123a5fa fix: updated the maxDuration for api/cron job 2023-12-30 17:33:44 -08:00
Leon Xu 805674717c Merge branch 'dev' into 'main'
Merging dev branch to main branch

See merge request leonxu260/pricewise!1
2023-12-31 01:24:55 +00:00
Leon Xu 36684964f4 fix: updated the page app 2023-12-30 17:21:29 -08:00
Leon Xu 52bdccd4d1 file & create: created cron job to api/cron 2023-12-30 17:21:13 -08:00
Leon Xu d1fa3565e2 fix: update the nodemailer to remove the export function from notification 2023-12-30 17:09:31 -08:00
Leon Xu 2b5d912137 doc: add @types/nodemailer to devDependencies 2023-12-30 17:06:06 -08:00
Leon Xu 676a486878 fix; updated the nodemailer 2023-12-30 17:02:04 -08:00
Leon Xu 9166838edc doc: updated Modal component 2023-12-30 16:48:04 -08:00
Leon Xu d95b3e6e76 doc: added individual product's functionality 2023-12-30 16:47:51 -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 8c4aed91ba doc: added nodemailer package 2023-12-30 16:29:51 -08:00
Leon Xu 66a862cfa0 doc: added headless-ui package 2023-12-30 16:15:45 -08:00
Leon Xu f480f88c7d file: create Modal component 2023-12-30 16:09:47 -08:00
Leon Xu e29d28ac18 feat: added getSimilarProducts 2023-12-30 15:59:33 -08:00
Leon Xu 155fb60ec3 fix: remove dynamically color border 2023-12-30 15:51:00 -08:00
Leon Xu edff435128 file & doc: create ProductInfoCard and provide necessary params and styles 2023-12-30 15:46:55 -08:00
Leon Xu 5d3adf2c76 fix: update the product.model reviewCount to reviewsCount 2023-12-30 15:24:45 -08:00
Leon Xu 0b271ab55c file: re-create pages in Products\[id] directory 2023-12-30 15:10:45 -08:00
Leon Xu 949daa6af9 file: remove page.tsx 2023-12-30 15:08:16 -08:00
Leon Xu 361a48800f file: remove Page.tsx from products/[id] directory 2023-12-30 15:07:55 -08:00
Leon Xu 140f2b96e2 file: rename from Page.tsx to page.tsx in /products/[id] directory 2023-12-30 14:43:46 -08:00
Leon Xu f9bdec4d14 file: remove Page.tsx and rename it to page.tsx 2023-12-30 14:41:59 -08:00
Leon Xu 63bf49709e doc: added functionality and interface to ProductCard component 2023-12-30 14:36:28 -08:00
Leon Xu b35c6ca017 file: create ProductCard component 2023-12-30 14:24:15 -08:00
Leon Xu aef6d72ed8 file: create ProductDetails page 2023-12-30 14:18:10 -08:00
Leon Xu 3666de5f91 doc: update layout app page 2023-12-30 14:17:54 -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 f5f8f18a38 doc: added mongoose package 2023-12-30 13:47:36 -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 e9d49ab8bf file & doc: create the index types and update them 2023-12-30 13:18:03 -08:00
Leon Xu 9dfb0ea462 fix: modify the page app to include more UI/UX and also styling 2023-12-30 13:17:04 -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
Leon Xu 0bd61688e4 doc: update SearchBar components 2023-12-30 12:45:33 -08:00
Leon Xu e5bc4fe5fc doc: updated next.config.js file 2023-12-30 12:45:16 -08:00
Leon Xu af7cff4ae2 doc: added .env file as a gitignore file so it won't be uploaded 2023-12-30 12:32:16 -08:00
Leon Xu 919d83c20a doc: installed axios and cheerio packages 2023-12-30 12:31:49 -08:00
Leon Xu 5c04d8665c doc: added Carousel and Images to the HeroCarousel component 2023-12-30 12:00:28 -08:00
Leon Xu d4c21a126f doc: added react-responsive-carousel package 2023-12-30 11:48:03 -08:00
Leon Xu 49ac2e1475 doc: update SearchBar components with the UX, but will come back later to give interconnectivity 2023-12-30 11:44:15 -08:00