Modern applications need more than just a basic REST API — they need secure authentication, reliable email delivery, and the ability to integrate with third-party platforms like GitHub without stitching together fragile glue code. The challenge was to build a clean, extensible backend that handles all of these concerns in one place, with strict input validation and a structure that scales as features are added.
Built Synq API on Express 5 with TypeScript, wiring together JWT-based authentication, bcrypt password hashing, and cookie-based sessions for secure user management. Integrated both Nodemailer and Resend for flexible email delivery — transactional emails, notifications, and verification flows. Added Octokit for GitHub API integration, enabling the backend to interact with repositories and user data programmatically. Zod handles all input validation at the boundary, and Helmet secures the HTTP layer.
JWT authentication with bcrypt password hashing
Cookie-based session management for secure auth flows
Email delivery via Resend and Nodemailer for transactional notifications
GitHub API integration via Octokit for repository and user data access
Zod schema validation on all incoming requests
Helmet for HTTP security headers
CORS configuration for cross-origin request handling
Modular Express 5 routing with TypeScript throughout
ngrok integration for local tunnel testing