All Projects → EasyAbp → GiftCardManagement

EasyAbp / GiftCardManagement

Licence: MIT license
An abp application module where you can create gift cards and your app user can use them to exchange something.

Programming Languages

C#
18002 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

GiftCardManagement

ABP version NuGet NuGet Download Discord online GitHub stars

An abp application module where you can create gift cards and your app user can use them to exchange something.

Online Demo

We have launched an online demo for this module: https://giftcard.samples.easyabp.io

Installation

  1. Install the following NuGet packages. (see how)

    • EasyAbp.GiftCardManagement.Application
    • EasyAbp.GiftCardManagement.Application.Contracts
    • EasyAbp.GiftCardManagement.Domain
    • EasyAbp.GiftCardManagement.Domain.Shared
    • EasyAbp.GiftCardManagement.EntityFrameworkCore
    • EasyAbp.GiftCardManagement.HttpApi
    • EasyAbp.GiftCardManagement.HttpApi.Client
    • (Optional) EasyAbp.GiftCardManagement.MongoDB
    • (Optional) EasyAbp.GiftCardManagement.Web
  2. Add DependsOn(typeof(GiftCardManagementXxxModule)) attribute to configure the module dependencies. (see how)

  3. Add builder.ConfigureGiftCardManagement(); to the OnModelCreating() method in MyProjectMigrationsDbContext.cs.

  4. Add EF Core migrations and update your database. See: ABP document.

Usage

  1. Add permissions to the roles you want.

  2. Create a gift card template.

  3. Create a gift card.

  4. Handle the gift card consumption distributed event. See the document: Handling Consumption Event.

  5. Try to consume the gift card.

GiftCards BatchCreate Consumption

Roadmap

  • Consumption rollback feature.
  • Improve management pages.
  • Unit tests.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].