Feat/api#9
Merged
DavisNoah02 merged 4 commits intomainfrom Mar 29, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
DavisNoah02
commented
Mar 29, 2026
Owner
Author
DavisNoah02
left a comment
There was a problem hiding this comment.
SCALABABLE, RELIABLE AND Efficient
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a complete backend persistence layer for contact form submissions, adds rate-limiting to prevent spam, and improves the robustness of the contact form both on the frontend and backend. It integrates Prisma with PostgreSQL, adds new workflows for CI and database migrations, and updates documentation and dependencies accordingly.
Backend: Contact Form Persistence & Rate Limiting
/api/contactthat validates input using a shared Zod schema, saves messages to the database using Prisma, and applies per-IP rate limiting to prevent abuse. It also gracefully handles email delivery failures and missing configuration. [1] [2] [3] [4]contactSchemainlib/validations/contact.tsfor consistent validation on both frontend and backend.saveContactMessagefunction inlib/server/contact-message-store.tsand Prisma client setup inlib/server/db.ts. [1] [2]Frontend: Contact Form Improvements
Infrastructure & Tooling
Documentation
README.mdwith environment variable setup, database command instructions, and deployment order recommendations for production. [1] [2] [3]Other UI/UX and Theming
useSyncExternalStorefor better reactivity and reliability. [1] [2] [3] [4]LogoImagewithLogo. [1] [2]Backend: Contact Form & Persistence
/api/contactto use shared validation, save messages to DB, and add rate-limiting per IP. Handles email failures and missing config gracefully.saveContactMessagefor DB persistence and Prisma client setup for PostgreSQL. [1] [2]Frontend: Form Validation & UX
contactSchemaand types for validation.Infrastructure & Tooling
Documentation
README.mdfor environment variables, database commands, and deployment order. [1] [2] [3]UI/UX and Theming
useSyncExternalStorefor more reliable updates. [1] [2] [3] [4]LogoImagewithLogofor consistency. [1] [2]