DEV Community

Probir Saha Shohom
Probir Saha Shohom

Posted on Edited on

How I built a full-stack e-commerce app with Django + React + SSLCommerz — and what I learned

 ## Background

I'm a full-stack developer from Dhaka, Bangladesh.
I wanted to build something real — not just a tutorial
project, but an actual working e-commerce application
that could be used in production.

The result is RB Trading — a complete e-commerce web
app with Django REST Framework, React.js, and SSLCommerz
payment gateway.

Why These Technologies?

Django REST Framework — Python is my strongest
language and DRF makes building APIs fast and clean.
The admin panel alone saves hours of work.

React.js + Tailwind CSS — Fast, component-based UI.
Tailwind CSS means no time wasted writing custom CSS.

SSLCommerz — The most popular payment gateway in
Bangladesh. Essential for any BD-market e-commerce app.

PostgreSQL — Production-grade database. No
compromises on data reliability.

What I Built

The app has everything a real e-commerce store needs:

  • Product listing with search and category filtering
  • Shopping cart and checkout flow
  • SSLCommerz payment integration
  • JWT authentication (register/login)
  • Django admin panel for managing products and orders
  • Fully responsive UI — works on mobile and desktop

The Hardest Part

Integrating SSLCommerz was the most challenging part.

The documentation is not great and there are very few
working examples online. I spent 3 days getting the
payment flow working correctly — handling success,
failure, and cancel callbacks properly.

If you're building for the Bangladesh market, this
alone makes the source code worth it.

What I Learned

  1. DRF serializers are powerful — once you
    understand them, building APIs becomes very fast

  2. JWT auth needs careful implementation — token
    refresh, expiry handling, and secure storage all
    matter

  3. Payment gateway integration is always harder
    than expected
    — always budget extra time for this

  4. Tailwind CSS speeds up UI development
    stopped writing custom CSS almost completely

Live Demo

See it running here:
https://rb-trading-akwe.vercel.app/

Get the Source Code

I'm selling the complete source code on Gumroad:
https://sohom6.gumroad.com/l/czqgez

Includes:

  • Complete frontend + backend source code
  • Database schema
  • API documentation
  • Setup guide / README
  • Environment config examples

Questions?

Happy to answer anything about the tech stack,
implementation details, or SSLCommerz integration
in the comments below!

Top comments (0)