https://holy-verses-api.onrender.com/
Using a tool like Postman, until I make a decent UI:
- https://holy-verses-api.onrender.com/signin { "username": "stanimal", "password": "admin" }
- https://holy-verses-api.onrender.com/user { "username": CREATE_A_USERNAME, "password": CREATE_A_PASSWORD }
- https://holy-verses-api.onrender.com/api/verse Make a GET request here to get all the verses using the token you get back after making a request to either of above endpoints. The token should be placed as a Bearer Token under the Auth tab.
- https://holy-verses-api.onrender.com/api/verse Make a POST request here using token with a req body similar to below:
{
"content": "Be not rash with your mouth, nor let your heart be hasty to utter a word before God, for God is in heaven and you are on earth. Therefore let your words be few.",
"book": "Ecclesiastes",
"chapter": 5,
"translation": "ESV",
"verses": [2]
}
- https://holy-verses-api.onrender.com/api/verse/:id You can make PUT, GET, DELETE request for a singular verse using an id of a verse you get back in using GET endpoint bulleted as 3. above