gg-blake / CS-Club-Website

https://cs-club-website-ten.vercel.app
4 stars 2 forks source link

API for Announcements #7

Open gaiborjosue opened 1 year ago

gaiborjosue commented 1 year ago

Hello!

Could you create an API so I can make a POST request from the discord bot to send announcements from a specific discord channel and parse it to the request in JSON format? So then, the website can update with the current announcement each time a POST request happens. In this case, I'll host the discord bot separately from the website and connect them within the API call.

Thanks!

gg-blake commented 1 year ago

Hi Edward,

This is an ongoing feature that Ayden and I are planning to roll out in patch 1.3. I've been communicating with Ayden about this and he seems to be working with a vanilla nodejs server. I hoped that we could use Next.js support for SSR but we might need to roll that out at a later patch.

Thanks, Blake M.