stori

module
v0.0.0-...-8305c4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0

README

Stori technical assesment

Requirements

Installation

Clone the repository

git clone https://github.com/casmelad/stori.git

Docker

By default, the Docker will expose port 5432 for the postgres server, so change this within the docker-compose.yml if necessary.

    ports:
      - 5432:5432

When ready, to build the images and run the container use the command as shown

docker compose up

once the application is running it will keep runing during 1 minute sending the email every 10 seconds

Environment variables

You can edit the next environment variables in teh docker-compose.yaml

- SMTP_PASSWORD=value
- SMTP_USEREMAIL=value
- SMTP_HOST=value
- SMTP_PORT=value

There are more environment variables that are not recommended to be modified.

Test file

You can always modify the csv file in order to test the email calculations

CSV File

License

Apache 2.0

Directories

Path Synopsis
cmd
dto
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL