Skip to content

Certificate and Mailing - #28

Open
Simran-persian wants to merge 7 commits into
fed-tech:mainfrom
Simran-persian:nextjs-migration
Open

Certificate and Mailing #28
Simran-persian wants to merge 7 commits into
fed-tech:mainfrom
Simran-persian:nextjs-migration

Conversation

@Simran-persian

Copy link
Copy Markdown
Collaborator

Implemented certificate generation and mailing functionality, including certificate-related APIs, views, and email handling.

Krishna-Das20 and others added 7 commits July 30, 2026 21:15
Pixel-for-pixel port of FED-Frontend (React 18 + Vite) and FED-Backend
(Express) into a single Next.js 16 App Router application, running against
the same MongoDB.

The original SCSS modules are carried over verbatim (84 stylesheets, 24
image assets) and components keep their original markup and class names,
which is what makes the replica indistinguishable from the original rather
than merely similar. URLs keep the original casing (/Events, /Team, /Login).

Verified against both apps running side by side:
- /Events and /Team render at identical total page height (6109px, 9461px)
  with matching element counts and computed styles
- All five public API responses are byte-identical to the Express server
- typecheck clean, eslint 0 errors, build 68 routes, npm audit 0 vulns

Includes all 48 Express endpoints, ported as Route Handlers preserving the
original JSON contracts.

Security fixes (npm audit 44 -> 0):
- xlsx moved to the official SheetJS distribution (prototype pollution)
- react-share-social removed for a local react-share component (-530 pkgs)
- postcss and sharp pinned to patched versions via overrides
- JWT_SECRET was 4 characters; replaced with 64 bytes of CSPRNG entropy,
  which rotates existing sessions
- BCRYPT_SALT_ROUNDS held a bcrypt salt string rather than a cost factor
- contact endpoint now validates email format and message length

See MIGRATION.md for the full record, including known issues.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

@Simran-persian is attempting to deploy a commit to the fedkiitgmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants