-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
Backend π οΈEnhancement πNew feature or requestNew feature or requestFrontend π¨help wantedExtra attention is neededExtra attention is needed
Description
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
-
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
-
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"
-
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
-
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Backend π οΈEnhancement πNew feature or requestNew feature or requestFrontend π¨help wantedExtra attention is neededExtra attention is needed