Skip to content

sabakhubutia03/EcommerceAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ Ecommerce API (.NET 9)

A robust, scalable, and production-ready Backend REST API built with .NET 9, following Clean Architecture principles.

This project manages users, products, shopping carts, and orders, with a strong focus on data integrity, maintainability, and real-world backend practices.


πŸš€ Key Features

πŸ‘€ User Management

  • Full CRUD operations (Create, Read, Update, Delete)
  • Secure registration and profile updates
  • DTO-based architecture for safe and controlled data transfer

πŸ“¦ Product & Category Catalog

  • Dynamic product and category management
  • Products are linked to categories for better organization
  • Easily extendable filtering and searching capabilities

πŸ›’ Shopping Cart System

  • Persistent cart stored in the database
  • Real-time updates (add/remove/update quantity)
  • Seamless user-cart relationship

πŸ’³ Order Management

  • One-click checkout process
  • Automatic stock deduction after order placement
  • Full order history tracking per user
  • Ensures transactional consistency

πŸ›  Tech Stack & Highlights

  • Framework: ASP.NET Core Web API (.NET 9)
  • Database: SQL Server
  • ORM: Entity Framework Core
  • Mapping: AutoMapper (with null safety handling)
  • Validation: FluentValidation
  • Logging: Serilog (Console & File logging)

🧠 Architecture & Design

This project follows Clean Architecture, ensuring separation of concerns and scalability.

πŸ— Layers

  • πŸ“‚ Domain
    Core business logic and entities (User, Product, Cart, Order)

  • πŸ“‚ Application
    DTOs, Interfaces, Validators, and Mapping Profiles

  • πŸ“‚ Infrastructure
    Database access (DbContext), Repository & Service implementations

  • πŸ“‚ API
    Controllers, Middleware, and global exception handling


About

πŸ›’ A robust Ecommerce REST API built with .NET 9 following Clean Architecture principles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages