Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Verse of the Day w/ YouVersion API and Tweet Card Display #61

Open
12 tasks
JustinhSE opened this issue Nov 8, 2024 · 6 comments
Open
12 tasks
Assignees
Labels
Backend 🛠️ Enhancement 🚀 New feature or request Frontend 🎨 help wanted Extra attention is needed

Comments

@JustinhSE
Copy link
Collaborator

Overview

Add a "Verse of the Day" feature using the YouVersion API to fetch daily verses and display them using the MagicUI Tweet Card component. This feature will provide users with daily inspiration in a visually appealing format.

Tasks

  1. Install and set up YouVersion API

    • Review documentation within this api
    • Run npm install @glowstudent/youversion
    • Import the YouVersion module in the project
    • Create a function to fetch the Verse of the Day using YouVersion API
  2. Create a Verse of the Day component

    • Use the Tweet Card component as a base
    • Customize the component to display the Verse of the Day content (exclude version)
    • Set the title of the Tweet Card to "Verse of the Day"
  3. Integrate Verse fetching with the display component

    • Fetch the Verse of the Day when the component mounts
    • Update the Tweet Card component with the fetched verse data
    • Display a fallback message if the verse fetching fails
  4. Implement caching to reduce calls (optional)

    • Store the fetched verse locally to reduce API calls
    • Update the cached verse at midnight in the user's local time zone
@JustinhSE JustinhSE changed the title feat: Implement Verse of the Day Feature with YouVersion API and Tweet Card Display feat: Verse of the Day w/ YouVersion API and Tweet Card Display Nov 8, 2024
@JustinhSE JustinhSE added Enhancement 🚀 New feature or request help wanted Extra attention is needed Frontend 🎨 Backend 🛠️ labels Nov 8, 2024
@ciaracade
Copy link
Contributor

I'd like to take this!

@JustinhSE
Copy link
Collaborator Author

Yea for sure!

@ciaracade
Copy link
Contributor

Thank you! ^^

@JustinhSE
Copy link
Collaborator Author

Hey @ciaracade, just checking in for the status on this issue?

@ciaracade
Copy link
Contributor

Hi, working on this over winter break ;)

@JustinhSE
Copy link
Collaborator Author

Alright great, thanks for the status update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend 🛠️ Enhancement 🚀 New feature or request Frontend 🎨 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants