10 Commits

Author SHA1 Message Date
73f51b8bc4
feat(other): backend - mail api for it4c (#231)
* backend - mail api for it4c

Implements an fastify backend service with an email service.
This allows to send us emails received via contact form on the website.

* optional telephone

* missing text delimiter

* start command and correct build method to classicjs

* deploy for backend & adjust README.md

* debug deploy [1]

* debug deploy [2]

* debug deploy [3]

* debug deploy [4]

* debug deploy [5]

* finish deploy script

* watch when running npm run dev

* fix format validation

* debug sendmail[1]

* debug sendmail[2]

* debug sendmail[3]

* debug sendmail[4]

* debug sendmail[5]

* env for MAIL_HOST

* referece name in email subject

* fix format string

* eslint

* backend build & lint workflows

* order comments

* unit tests

* unit test workflow

* prettier

* alias paths

* fix esm support

* 100% tests

* corrected nodejs version

* use beforeEach to clearAllMocks

This simplifies the code and reduces redundancy

* fix wrong import
2025-03-07 10:32:56 +01:00
mahula
ea5a62bd23
Merge branch 'master' into deploy.sh-overwrite-symbolic-link 2023-10-05 14:06:07 +02:00
e44ed4b6ac
deploy.sh properly overwrite symbolic link 2023-10-05 14:03:55 +02:00
6dd4a08777
deploy.sh also install npm modules 2023-10-05 13:37:45 +02:00
f629ec012d
make cp recursive 2023-10-04 19:24:36 +02:00
72f336f277
make directory for deploy version 2023-10-04 19:22:24 +02:00
b5b3959fc4
update cp in deploy.sh 2023-10-04 19:10:57 +02:00
d997708a77
deploy.sh using /bin/sh 2023-10-04 19:08:15 +02:00
db34565455
update webhook deploy.sh & ignore hooks.json 2023-10-04 18:51:08 +02:00
2d54fb24ca
initial blind implementation & documentation of a webhook 2023-10-04 17:35:12 +02:00