NexGen Sales
Recruitment portal with training LMS and admin dashboards
Overview
NexGen Sales was a client project for a door-to-door sales company that wanted recruiting, screening, and onboarding in one platform instead of a stack of SaaS products. The public side is a Nuxt 3 marketing site with a blog and a reCAPTCHA-protected application form. Accepted candidates get a private portal with ordered training modules, video lessons, and quizzes. Backend runs on Nuxt server routes over MongoDB Atlas. Auth uses email/password (bcrypt + JWT) and Google OAuth. The admin side is the largest part: dashboards for every collection, drag-and-drop course ordering, and role-based access.
Built With
Architecture
Key Highlights
USPS Shipping Integration
Full USPS API v3 integration with OAuth2 token management, real-time address verification using DPV confirmation codes, dynamic rate lookups, and shipping label persistence to MongoDB.
Square Payments
End-to-end Square Payments integration with client-side card tokenization. The server re-fetches item prices from MongoDB before charging to prevent price tampering, with idempotency keys to prevent duplicate charges.
Training Pipeline
Multi-stage onboarding system where users progress through ordered training modules containing 7 polymorphic content types (paragraphs, lists, images, quizzes, polls, videos, subheadings). Completion triggers dual Lambda emails for interview scheduling.
Affiliate Engine
Affiliate tracking with auto-generated unique codes, per-affiliate commission percentages, and a Mongoose pre-save hook that recalculates totalEarnings by joining against the Transaction collection on every save.
Product Variants
Deeply nested product schema supporting 10 variant dimensions (color, size, material, style, etc.) with per-variant pricing, SKUs, stock, and images. Pre-save hooks auto-calculate savings percentages and subscription discount rates.


Next Project
Nolly→
Knowledge capture and transfer for teams