An open API service indexing awesome lists of open source software.

https://github.com/ltnhan04/dotnet-ecommerce

iTribe โ€” Full-stack E-commerce Platform
https://github.com/ltnhan04/dotnet-ecommerce

docker dotnet-core-webapi nextjs

Last synced: 3 months ago
JSON representation

iTribe โ€” Full-stack E-commerce Platform

Awesome Lists containing this project

README

          

# ๐Ÿ›๏ธ iTribe E-Commerce Platform

A full-stack, enterprise-grade e-commerce platform built with **.NET 8** and **Next.js 14** โ€” offering real-time payment processing, scalable architecture, and secure customer experiences.

> ๐Ÿ’ผ This project demonstrates my skills in backend scalability, frontend architecture, secure payments, and production-ready DevOps. Designed as a showcase of real-world engineering standards.

---

## ๐Ÿš€ Overview

`iTribe` is a modern online retail platform built to handle the full lifecycle of e-commerce operations:

- ๐Ÿ‘ฅ Multi-role user management (admin/customer)
- ๐Ÿ›๏ธ Product catalog with variants, inventory, and filtering
- ๐Ÿงพ Seamless order management & payment flows
- ๐Ÿ” Security-first approach with JWT, rate limiting, and encrypted sessions

---

## โœจ Key Features

### ๐Ÿ›’ **E-Commerce Core**
- Dynamic product & variant management
- Real-time inventory checks & persistent cart
- Order tracking with status history
- Role-based access control (RBAC)

### ๐Ÿ’ณ **Payment Integration**
- Stripe & MoMo gateways with webhook validation
- Full refund workflows
- Transaction status syncing with order updates

### ๐Ÿ›ก๏ธ **Security**
- JWT + refresh token strategy
- Rate limiting & brute-force protection
- XSS, CSRF & injection mitigations
- CSP headers + encrypted storage

---

## ๐Ÿ› ๏ธ Technology Stack


Tech stack icons

- **Backend**: .NET 8 (.Net Core Web API), EF Core, MongoDB, Redis, Cloudinary
- **Frontend**: Next.js 14, TypeScript, Redux Toolkit, TanStack Query, Zod, Tailwind CSS
- **DevOps**: Docker, GitHub Actions, Nginx, Ubuntu

---

## ๐Ÿง  What I Focused On

- **Clean Architecture**: DI, Repository-Service pattern, layered separation
- **Security**: Full JWT auth flow, input sanitization, secure cookies
- **Payments**: Modular integration with Stripe & MoMo; refund API design
- **Frontend Engineering**: SSR-friendly architecture, optimized UI/UX, accessible components
- **Performance**: Redis caching, lazy loading, Dockerized CI/CD flow

---

## ๐Ÿ—๏ธ Architecture Highlights

- Modular service-oriented design
- Environment-based configuration (dev/prod)
- Secure deployments with HTTPS, Nginx reverse proxy
- Health checks, logging & backup-ready

---

## ๐Ÿš€ CI/CD & Deployment Workflow

Below is the automated workflow for code delivery and deployment to the production VPS:

### ๐Ÿ“Š Deployment Flow Diagram

![CI/CD Workflow](./frontend/public/assets/images/cicd.png)

---