Skip to content

A .NET console-based e-commerce system built for the Fawry internship task.

Notifications You must be signed in to change notification settings

Elghrabawy/Ecommerce-Fawry-Challenge

Repository files navigation

E-Commerce Project (Fawry Task)

Table of Contents

Project overview

Fawry Internship Challenge

Console application of e-commerce system able cutomers to to shopping products by add product at own cart then can checkout and has shipping system with shippping fees.

Database Design

this project contains a database design for an e-commerce platform, which includes the main entities likes:

  • Customers
  • Products
  • Orders
  • Carts

Database Schema


Used Technologies and Patterns

  • C#/.NET
  • Microsoft SQL Server
  • Entity Framework
  • Repository Pattern and Unit of Work
  • Dependency Injection

Project Structure

  • /Data : contains application db context and it's configration
  • /Models : contains main models at program
  • /Repository : contains interface and implementation of data access layer
  • /Services : application buissness logic layer

Run Program with Corner Cases

Case1 : Add product not exists

Case2 : Add product with more than quantity at stock

  • show message that product not exists at stock and can't add it to cart.
  • if add product with quantity that not decrease at stock, only decrease when checkout.

Case3 : View cart & checkout

  • show cart items and total price then checkout and calculate shipping fees, after that the quantity of item in the cart be empty and decrease at the stock.

Case4 : Checkout without enough balance

  • there try to checkout with total price is +$600000 and customer has +$400000

About

A .NET console-based e-commerce system built for the Fawry internship task.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages