Skip to content

Instantly share code, notes, and snippets.

View FaisalMehmood2007's full-sized avatar

Faisal Mehmood FaisalMehmood2007

  • 18:37 (UTC +05:00)
View GitHub Profile
@FaisalMehmood2007
FaisalMehmood2007 / GSOC_2023.md
Created October 5, 2023 12:57 — forked from ABHINAV-JHA-27/GSOC_2023.md
Google Summer of Code 2023
@FaisalMehmood2007
FaisalMehmood2007 / cron.route.ts
Created October 1, 2023 07:24 — forked from adrianhajdin/cron.route.ts
Web Scraping Full Course 2023 | Build and Deploy eCommerce Price Tracker
import { NextResponse } from "next/server";
import { getLowestPrice, getHighestPrice, getAveragePrice, getEmailNotifType } from "@/lib/utils";
import { connectToDB } from "@/lib/mongoose";
import Product from "@/lib/models/product.model";
import { scrapeAmazonProduct } from "@/lib/scraper";
import { generateEmailBody, sendEmail } from "@/lib/nodemailer";
export const maxDuration = 300; // This function can run for a maximum of 300 seconds
export const dynamic = "force-dynamic";
@FaisalMehmood2007
FaisalMehmood2007 / README.md
Last active September 18, 2023 18:04 — forked from piyushgarg-dev/README.md
Kafka Crash Course