Skip to content

fif10/angels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angels / Les anges

image

Context

In my family, we have every year, a gift 🎁 (homemade) to offer to one random other member, and this has to be secret. We call this 'les anges' (angels in English) In order to automate this choice, the send of the choice, and avoid the gift to a partner (husband/wife), this basic application was created It chooses a member (player) and send an email to each member. It also sends the complete list to the "secret-keeper" for safety

Implementation

This spring boot application will do a random draw 🎲 among the players in each game. The person (receiver) drawn for each player cannot be in the same familyId The members is stored currently in spring boot config It can have several games (containing the players) and the name of the game is the parameter of the application. (default is adults)

The mail ✉️ is prepared with freeMarker and sent to each player. A special mail is sent to the secret keeper.

Usage

  • Configure the player in the application.yml file
  • Configure also the mail account (smtp)
  • Update if needed the mail template
    • boss-msg-template.ftlh, for the secret keeper
    • msg-template.ftlh for the players
  • Update if you want the logo.png (mail logo)
  • compile by running : mvn clean install
  • Run the application with the game name as argument

Licence

The licence of this application is a 'oneFeetJumpLicence' meaning that you have to jump 3 times on one feet before to be allowed to use it. In case you don't have feet, the licence is free of usage.

About

random draw

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages