feat: Implement email functionality with FastAPI-Mail and Mailhog

- Updated docker-compose.yml to include Mailhog service for email testing.
- Added environment variables for email configuration in docker-compose.
- Updated requirements.txt to include fastapi-mail for email support.
- Created templates for password reset, email verification, and welcome emails.
- Developed mail utility module to handle sending emails using FastAPI-Mail.
- Added documentation for email testing with Mailhog.
This commit is contained in:
Christian Krakau-Louis
2025-04-14 07:23:16 +02:00
parent 583f5aac42
commit 5cf3f944b1
22 changed files with 1425 additions and 157 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
<div class="bg-cream-white p-4 rounded-md">
<h3 class="font-semibold text-irish-green mb-1">Member Since</h3>
<p>{{ user.created_at.split(' ')[0] }}</p>
<p>{{ user.created_at.strftime('%Y-%m-%d') }}</p>
</div>
</div>