mirror of
				https://github.com/KevinMidboe/planetposen-mail.git
				synced 2025-10-29 17:50:32 +00:00 
			
		
		
		
	
			
				
					
						
					
					e6565c2260c7ee486b1d7be9eeaae545115932bf
				
			
			
		
	The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6055795 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6152404 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6191692
Planetposen email sender
App for sending emails related to planetposen webshop. Currently only supports sending order confirmations emails after purchase.
Setup
From source:
- git clone https://github.com/kevinmidboe/planetposen-mail
- cp .env.example .env
- Update variables in .envfile
- make install
Run
Run api from command line with:
make server
Run as docker container using:
(sudo) docker run -d --name planetposen-mail -p 8000:8000 \
    -e PORT=8000
    -e SEND_GRID_API_ENDPOINT="https://api.sendgrid.com"
    -e SEND_GRID_API_KEY="sg.nE3..."
or
(sudo) docker run -d --name planetposen-mail -p 8000:8000 --env-file .env planetposen-mail
Preview
Use view template as preview during local development run:
make preview
Description
				
					Languages
				
				
								
								
									Go
								
								92.9%
							
						
							
								
								
									Makefile
								
								4.5%
							
						
							
								
								
									Dockerfile
								
								2.6%