feat: testing contact form features

This commit is contained in:
2026-02-18 21:34:16 -06:00
parent 7d9c0014ed
commit 87f0443b31
30 changed files with 2625 additions and 50 deletions

View File

@@ -59,9 +59,33 @@ npm run dev
```
## Contact Form Setup
### Frontend env
Create `.env` in the project root:
```bash
VITE_CONTACT_API_URL=/api/contact
VITE_TURNSTILE_SITE_KEY=your_turnstile_site_key
```
### Backend API
The contact backend lives in `contact-api/`.
```bash
cd contact-api
npm i
npm run dev
```
Create `contact-api/.env` from `contact-api/.env.example` and set your real Turnstile + SMTP credentials.
### VPS service files
- systemd unit template: `ops/jody-contact-api.service`
- Nginx reverse proxy snippet: `ops/nginx-contact-api.conf`
## Author
### Jody Holt
### Frontend Developer • Passion Pioneer
#### [GitHub](https://github.com/Ricearoni1245) • [LinkedIn](https://www.linkedin.com/in/jody-holt-9b19b0256) • [Email](mailto:jholt1008@gmail.com)
#### [GitHub](https://github.com/Ricearoni1245) • [LinkedIn](https://www.linkedin.com/in/jody-holt-9b19b0256)