Kontaktformular-Dienst (Node + nodemailer), self-hosted für Coolify
- POST /api/kontakt: validiert, Honeypot-Spamschutz, Rate-Limit (5/10min) - Versand per SMTP über eigenes Postfach, keine Speicherung/DB - CORS auf die eigene Website beschränkt (ALLOWED_ORIGIN) - Konfiguration komplett über Environment-Variablen (.env.example) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
a617846aa9
6 files changed
+994
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "kontakt-api",
|
||||
"version": "1.0.0",
|
||||
"description": "Kleiner Mail-Weiterleitungs-Dienst für das Kontaktformular von atilgan-gartenbau.de",
|
||||
"type": "module",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"start": "node server.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.21.2",
|
||||
"express-rate-limit": "^7.5.0",
|
||||
"nodemailer": "^6.10.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user