ChatGPT generated news article parodies of Stuff New Zealand articles. Uses cron jobs to check Stuff RSS and then generate a fake parody article based off the title. ChatGPT will generate a fake thumbnail then we upload it to an imagebb storage bucket, then the entire article to our Supabase PostgreSQL database. Front-end then requests our api endpoint for the articles and then displays them with react and tailwind.
npm i
to install dependencies- add .env with the keys:
- OPENAI_API_KEY
- DATABASE_URI
- IMGBB_KEY
npm prisma generate
to generate the prisma clientnpx run dev
to start the server