@justindfuller/verse-of-the-day
v1.0.3
Published
Backend for verse of the day app.
Downloads
11
Readme
Verse-Of-The-Day-Server
Backend micro service for displaying a Bible verse of the day.
API
/echo
- Method:
ANY
- Returns:
Object
withsuccess
set to true and amessage
letting you know you've successfully pinged the server. This is used to verify the service is up and running correctly.
/dailyVerse/?:bibleVersion
- Method:
GET
- Returns:
Array
with threeVerse
objects. A random, Psalm, and Proverb. - If you choose to add
:bibleVersion
like/eng-ESV
it will return that translation. This is optional.
/proverb/?:bibleVersion
- Method:
GET
- Returns:
Object
with a ProverbVerse
object. - If you choose to add
:bibleVersion
like/eng-ESV
it will return that translation. This is optional.
/psalm/?:bibleVersion
- Method:
GET
- Returns:
Object
with a PsalmVerse
object. - If you choose to add
:bibleVersion
like/eng-ESV
it will return that translation. This is optional.
/random/?:bibleVersion
- Method:
GET
- Returns:
Object
with a random book/chapter/verseVerse
object. - If you choose to add
:bibleVersion
like/eng-ESV
it will return that translation. This is optional.
/versions
- Method:
GET
- Returns:
Array
containingObjects
representing the different translations available.