JollyHelper is a Christmas exchange application that takes in dictionary in the format:
Name : [email protected]
Then it will randomly assign each email address a name (that does not belong to the original email address)
- Copy and remane the sample environment file
» cp env.example .env
-
Configure the .env file to your needs
-
Install Heroku toolbelt
You can run the application with:
» foreman start -e .env
Available Endpoints:
,--. ,--.,--. ,--. ,--. ,--.
`--' ,---. | || |,--. ,--.| '--' | ,---. | | ,---. ,---. ,--.--.
,--.| .-. || || | \ ' / | .--. || .-. :| || .-. || .-. :| .--'
| |' '-' '| || | \ ' | | | |\ --.| || '-' '\ --.| |
.-' / `---' `--'`--'.-' / `--' `--' `----'`--'| |-' `----'`--'
'---' `---' `--'
POST /persons --> PersonResource.Create
GET /persons/:id --> PersonResource.Get
GET /persons --> PersonResource.List
POST /persons/:id/list --> PersonResource.AddListItem
GET /persons/:id/list --> PersonResource.GetUserList
POST /secretsanta --> SecretSantaResource.AssignNames
GET /secretsanta --> SecretSantaResource.List
GET /notification/:id --> NotificationResource.Send
GET / --> Hello World
GET /ping --> pong