Closed vinnyjth closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
apollos-micro-service | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Mar 28, 2024 1:42pm |
apollos-web-embeds | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Mar 28, 2024 1:42pm |
amazing. i'll review this soon
π Issue
Closes #195
βοΈ Solution
Migrate to Next.js π
After much pondering and researching, I'm convinced this is the shortest jump to working meta tags outside of paying for a service like prerender.io. We need the meta tags to be sent over the wire and to be accessible without any JS execution required, and Next.js was a quick hop from our current implementation.
Some notes:
NEXT_PUBLIC_CHURCH_SLUG
env variable.nextjs
router would require a refactor of all three folders (embeds, microservice, and shared)yarn
from the root as well asmicroservice
to begin working.π¬ To Test
Start the microservice with a env var like
Visit some microserviced pages http://localhost:4000/?id=UniversalContentItem-d7a75b1f-9dbb-4c80-b72a-07ae3d7b70eb
Fire up ngrok and test using some social preview testing tools
πΈ Screenshots