Skip to content

Latest commit

 

History

History
 
 

docker-image

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Test application with Docker:

$ docker-compose up -d

Go to http://127.0.0.1:5000

Access to mailhog: http://127.0.0.1:8025/

Access to Swagger docs: http://127.0.0.1:5000/docs/

Curl example:

$ curl -d '{"from": "[email protected]", "to": "[email protected]", "application_name": "My Application", "username": "john-doe", "confirm_email": "[email protected]", "url": "http://example.com", "is_new_user": true}' -H "Content-Type: application/json" -X POST http://localhost:5000/v1/templates/confirm_email/send

See result in mailhog.

Build Docker image:

$ ./build.sh