@justindfuller/verse-of-the-day

1.0.3 • Public • Published

Verse-Of-The-Day-Server

Codeship Status for JustinDFuller/Verse-Of-The-Day-Server Coverage Status

Backend micro service for displaying a Bible verse of the day.

API

/echo

  • Method: ANY
  • Returns: Object with success set to true and a message 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 three Verse 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 Proverb Verse 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 Psalm Verse 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/verse Verse object.
  • If you choose to add :bibleVersion like /eng-ESV it will return that translation. This is optional.

/versions

  • Method: GET
  • Returns: Array containing Objects representing the different translations available.

Dependents (0)

Package Sidebar

Install

npm i @justindfuller/verse-of-the-day

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • justindfuller