nkowaokwu / igbo_api

An API exposing Igbo words, definitions, and more
https://igboapi.com
Apache License 2.0
316 stars 141 forks source link

Deploy with Next.js #791

Closed ijemmao closed 5 months ago

ijemmao commented 5 months ago

Describe your changes

Move away from serving the Igbo API homepage via Cloud Functions. The UI will now be served via Next.js which will make for an easier deployment and debugging experience for future changes.

Issue ticket number and link

N/A

Motivation and Context

Our homepage is unnecessarily getting hit by the Cloud Functions cold start times despite 80%+ of the page being static and should be served quickly over CDNs like typical websites are served.

Deploying with Vercel helps us rely less on our complex GitHub Actions deployment script to both Firebase Functions and Firebase Hosting. The deploy step to Firebase Hosting has been removed.

How Has This Been Tested?

Locally testing and configuring in Vercel.com

Screenshots (if appropriate):

N/A

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
igbo-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2024 0:29am