Back
API — multi-role B2B2CMediexpert — API
Node and Express backend for Mediexpert: 3 roles with separate routes, natural key data model, and payment validation flow via bank transfer, with real security discipline over dependencies.
Infrastructure & Backend
The Challenge
Centralize the management of sellers and buyers, tracking equipment by serial number, and validating payments with receipts. Each role needed to access only their part of the business via API.
The Solution
Three roles with completely separate routes and automatic post-login redirect based on role, data model using natural keys (email instead of ObjectId), and a payment validation flow with clear states (pending until an admin validates the receipt).
Related project
Mediexpert
Role in the project
Solutions Architect and Full Stack Dev.
How it's deployed
ShareLinkedIn