Coder Social home page Coder Social logo

nixgram / zcommerce Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 319 KB

An Open-Source E2E-Ecommerce API Provider

License: MIT License

C# 98.56% Dockerfile 1.44%
net5 clean-architecture mediat cqrs fluentvalidation identityserver sqlite heroku docker kubernetes

zcommerce's Introduction

Screenshot 2021-10-01 011322

This is an API solution & also template for support minimal e-commerce application using .NET5 following the principles of Clean Architecture inspire from Jason Taylor. Use this template button or by installing and running the associated NuGet package (see Getting Started for full details). It's easy to jump start from beginning you can try it the barebone project v0.0.1-beta

Recommend to learn Clean Architecture with ASP.NET Core 3.0 โ€ข Jason Taylor โ€ข GOTO 2019

Technologies

Getting Started

  1. Install the latest .NET 5 SDK
  2. Install Redis using docker & run docker run -d --rm -p 6379:6379 redis
  3. Go to ZCommerce.API & Run dotnet run to run this project template

Database Migrations

To use dotnet-ef for your migrations please add the following flags to your command (values assume you are executing from repository root)

  • --project ./src/Infrastructure (optional if in this folder)
  • --startup-project ./src/Api
  • --output-dir Data/Migrations

For example, to add a new migration from the root folder:

dotnet ef migrations add "SampleMigration" --project ./src/Infrastructure --startup-project ./src/Api --output-dir Data/Migrations

Update Database,

dotnet ef database update --project ./src/Infrastructure --startup-project ./src/Api

Overview

ZCommerce.Domain

This will contain all entities, enums, exceptions, interfaces, types and logic specific to the domain layer.

ZCommerce.Application

This layer contains all application logic. It is dependent on the domain layer, but has no dependencies on any other layer or project. This layer defines interfaces that are implemented by outside layers. For example, if the application need to access a notification service, a new interface would be added to application and an implementation would be created within infrastructure.

ZCommerce.Infrastructure

This layer contains classes for accessing external resources such as file systems, web services, smtp, and so on. These classes should be based on interfaces defined within the application layer.

ZCommerce.API

This layer contain all API end points and contract with ZCommerce.Application via MediatR.

Support

If you are having problems, please let us know by raising a new issue.

License

This project is licensed with the MIT license.

Connect with me

haasib25 bdshanto bdshanto hsibbd bdshanto

zcommerce's People

Contributors

sefatanam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

zcommerce's Issues

More on Common

  • Refresh Token
  • Password Changing
  • Password Forget [ only for customer via email ]
  • Report
  • Feature Request

User Creation

  • Role Claim Type
    • Customer
    • Admin
  • Registration
    • Customer
  • Login via user claim type

Product [ For Admin ]

Class list is bellow -

  • Product - Minimal Information with Single Entry
  • Vendor Entry
  • Product Category
  • Update Product
  • Disable Product ( Haven't Delete Option )
  • Image can update separately

External Connections

  • Connect with Redis
  • Connect with Azure Redis
  • Docker
  • Docker Compose
  • Docker hub CI/CD
  • Azure WebAPP

Admin Dashboard

  • Orders
  • Shipment Status
  • Pending Order
  • Sending Email to customer
  • Active Customer in online
  • Cancel Order Tracking
  • Customer Support ( Messaging )

Customer Dashboard

  • Profile Update
  • Orders
  • Order Cancel
  • Order Tracking
  • Bonus
  • Support ( Messaging )

Making template for Jumpstart

๐Ÿ’ก Need to complete before making template for Jumpstart

  • Basic User claim options
  • Basic Invoice Management API endpoint for understanding this project hypothesis
  • Making for scaling with pure CQRS concept
  • Identity Server
  • Implementing Basic Redis Distribution Cache extension [ using Docker ]
  • Release v-0.0.1-beta

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.