← Back to portfolio
Completed2024 – 2025

Anon Commerce – Enterprise Multi-Vendor E-Commerce Marketplace

A scalable multi-vendor e-commerce solution empowering buyers, sellers, and administrators through secure commerce, real-time analytics, and modern marketplace management.

Role: Full-Stack Developer

Client: Personal / Academic Project

Anon Commerce – Enterprise Multi-Vendor E-Commerce Marketplace

Watch the video

Problem

Developing a modern multi-vendor marketplace requires far more than displaying products. It involves secure user authentication, independent seller storefronts, inventory management, payment processing, coupon validation, order fulfillment, customer engagement, analytics, media storage, and scalable backend architecture. Without a unified platform, these workflows become fragmented, difficult to maintain, and challenging to scale.

Solution

Anon Commerce is a full-stack enterprise marketplace designed to centralize the entire e-commerce ecosystem into a single scalable platform. Buyers can discover products, manage shopping carts, complete secure PayPal payments, review purchases, and follow favorite sellers. Sellers operate their own storefronts, manage inventory, upload rich media, create promotional campaigns through coupons, and monitor business performance using real-time analytics dashboards. Administrators oversee platform operations, category management, and user governance through a secure role-based management interface.

Tech Stack

Java 17Spring Boot 3.3.3Spring SecuritySpring Data JPAHibernatePostgreSQLJWT (jjwt 0.12.3)Angular 16TypeScript 5.1TailwindCSS 3.4Bootstrap 5.3Angular Material 16Ionic Angular 8RxJS 7.8Cloudinary 1.32PayPal REST SDK 1.14MapStruct 1.5Lombokngx-charts 20.5Chart.js 4.4jsPDF 2.5html2canvas 1.4date-fns 4.1SpringDoc OpenAPI 2.6Maven 3.9DockerDocker ComposeKarma + Jasmine

Architecture

  • Spring Boot REST API Backend
  • Angular 16 SPA Frontend with Lazy Loading
  • JWT Stateless Authentication
  • Role-Based Access Control (Buyer, Seller, Admin)
  • Single Table Inheritance for User Roles
  • Layered MVC Architecture (Controller → Service → Repository)
  • DTO Layer with MapStruct Mappers
  • Cloudinary Media Upload Service
  • PayPal Payment Gateway Integration
  • PostgreSQL Relational Database
  • Docker Compose Deployment (App + DB)
  • Swagger/OpenAPI Documentation
  • Global Exception Handling
  • OTP-Based Password Reset Service
  • Email Notification Service
  • Product View Analytics Engine
  • Coupon Validation and Redemption Engine
  • Shopping Cart and Order Processing Pipeline

Features

Three-role authentication system (Buyer, Seller, Admin)

JWT-based stateless authentication

Role-based route protection and API access control

Multi-vendor seller registration with shop profiles

Buyer registration with profile images

Product listing with multi-image and video uploads

Cloudinary cloud-based media storage

Hierarchical category system (4 levels deep)

Advanced product filtering by category and seller

Full shopping cart with add, remove, update quantity

Coupon creation and management by sellers

Coupon application per product with validation

Coupon usage tracking and redemption limits

PayPal sandbox payment integration

Order creation with stock deduction

Order status management (Created to Completed)

Shipment tracking with carrier and tracking number

Order confirmation with downloadable PDF export

Product ratings with average calculation

Reviews and comments on products

Only-purchased-can-rate enforcement

Product favorites and wishlist

Seller follow and unfollow system

Follower count and following list

Product view tracking (daily, weekly, monthly)

Stock analytics with pie chart visualization

Seller dashboard with order summaries and revenue

Admin category management panel

Admin registration management

Forgot password with OTP via email

Password reset flow with email verification

Responsive mobile-first design

Role-based navigation menus

Lazy-loaded Angular modules

HTML email templates for order confirmations

Global error handling with structured responses

Swagger/OpenAPI documentation

Docker and Docker Compose deployment

Newsletter subscription placeholder

About this project

Anon Commerce is a full-stack multi-vendor e-commerce marketplace built with a Java Spring Boot backend and Angular 16 frontend. The platform enables three distinct user roles — Buyers, Sellers, and Admins — each with dedicated interfaces, dashboards, and capabilities.

Sellers register with profile images and shop cover photos, then list products with multiple images and videos stored on Cloudinary. They manage inventory, create discount coupons with validation rules, track order statuses, and view analytics dashboards showing product views, stock distribution, and order summaries with revenue calculations.

Buyers browse products across hierarchical categories, add items to their shopping cart, apply seller-created coupons, and checkout through PayPal. After purchase, they receive order confirmations with downloadable PDF receipts, can rate and review products they bought, add items to their wishlist, and follow their favorite sellers.

Admins manage the platform's category hierarchy — supporting up to 4 levels of nesting — and register additional admin accounts. The entire system is secured with JWT authentication, role-based route guards, and Spring Security endpoint protection.

The backend exposes a comprehensive REST API with 18 controllers covering authentication, products, categories, cart, orders, coupons, ratings, favorites, followers, analytics, and email notifications. The frontend consumes these APIs through 18 dedicated Angular services with proper interceptors and guards.

The architecture follows a clean layered pattern with controllers, service interfaces, service implementations, repositories, DTOs, and MapStruct mappers. The application is containerized with Docker Compose, pairing a PostgreSQL database with the Spring Boot application server.

Challenges

  • Designing a multi-role user hierarchy with Single Table Inheritance
  • Implementing complex coupon validation with edge cases (expiry, redemption limits, per-product rules)
  • Building a checkout pipeline spanning cart validation, stock deduction, order creation, PayPal payment, and email notification
  • Integrating Cloudinary for multi-file image and video uploads
  • Creating a hierarchical category system supporting 4 nesting levels
  • Building product view analytics with daily, weekly, and monthly aggregations
  • Enforcing only-purchased-can-rate business rules
  • Managing JWT token lifecycle with refresh tokens and role-based route guards
  • Coordinating frontend lazy loading with role-based navigation menus
  • Handling PayPal sandbox redirect flow with Angular callback pages
  • Implementing PDF export for order confirmations using html2canvas and jsPDF
  • Building a responsive dashboard sidebar with Angular animations across three user roles

Results

  • Enterprise-ready multi-vendor marketplace
  • Complete buyer, seller, and administrator ecosystem
  • Secure JWT authentication and authorization
  • Cloud-based media management with Cloudinary
  • Integrated PayPal checkout workflow
  • Advanced seller analytics dashboards
  • Comprehensive coupon and promotion engine
  • Scalable REST API architecture
  • Dockerized production-ready deployment
  • Responsive cross-device user experience
  • Automated order processing pipeline
  • Comprehensive API documentation with Swagger

Gallery

Anon Commerce – Enterprise Multi-Vendor E-Commerce Marketplace screenshot 1
1 / 7

What people say

Swipe or use arrows. Switch EN / FR / AR when available.

Impressive, bro. You did a clean job.

Zouhayr Bahoumi

Zouhayr Bahoumi

LinkedIn

Full-Stack Developer

Great work, Taoufik! 👏

Nabil SABI

Nabil SABI

LinkedIn

Full Stack Web & Mobile Developer

wow🫡

TAHA SELLAK

TAHA SELLAK

LinkedIn

1337 Coding School Student | Full-Stack Developer

This is a result of the great efforts you are making and the immense passion you have towards this field... that's perfectly perfect and I wish you all the best in your prospective projects and profession! Keep up the great work dear Taoufik 👍👏

Oumaima CHAGGOUR

Oumaima CHAGGOUR

LinkedIn

Master's student / Applied Linguistics Researcher

Working with you this year has been truly exceptional. 🙏 I'm sincerely grateful for all the knowledge, time, and valuable advice you've shared with me. Thank you for your continuous support—it has made a real difference in my journey. I truly appreciate everything you've done. 🙏

Najia Knizi

Najia Knizi

LinkedIn

Full Stack Developer | Java | Angular

Community

GitHub

Social Media

Linkedin
© Taoufik Boucetta 2026 Inc. All rights reserved.