Skip to content

Spring Boot backend service that generates random quotes from the Quotable API and allows users to send these quotes via email. Hosted on Render's free instance and deployed using Docker.

Notifications You must be signed in to change notification settings

baderbenlhachemi/daily-wisdom-springboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daily Wisdom App - Backend

Overview

The Daily Wisdom App backend is responsible for generating random quotes from the Quotable API and allowing users to send these quotes to an email recipient using JMS.

Endpoints

  1. Random Quote Endpoint:

    • URL: /api/quotes/random
    • Method: GET
    • Description: Retrieves a random quote from the Quotable API.
  2. Send Quote by Email Endpoint:

    • URL: /api/quotes/sendEmail
    • Method: POST
    • Parameters:
      • quote: The quote object to send. This should be a JSON object with the same structure as the quote objects returned by the Random Quote Endpoint.
      • email: The email address of the recipient.
    • Description: Sends the selected quote to the specified email address. The quote should be provided in the request body along with the recipient's email address.

Hosting, Deployment, and Access

The backend of the Daily Wisdom App is hosted on a free instance provided by Render. Please note that due to the nature of the free instance, it may spin down during periods of inactivity. This could potentially delay the initial request by 50 seconds or more.

The web service is deployed using a Dockerfile. This allows for a consistent and reproducible environment, regardless of where the application is being run.

The web service can be accessed through the following link: https://daily-wisdom-springboot.onrender.com/api/quotes/random

About

Spring Boot backend service that generates random quotes from the Quotable API and allows users to send these quotes via email. Hosted on Render's free instance and deployed using Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published