Skip to content

An abp application module that provides general user review service. For example, a user can review a product he has bought with text, pictures and star-rating.

License

Notifications You must be signed in to change notification settings

EasyAbp/ReviewManagement

Repository files navigation

ReviewManagement

ABP version NuGet NuGet Download Discord online GitHub stars

An abp application module that provides general user review service. For example, a user can review a product he has bought with text, pictures and star-rating.

Installation

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

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

  3. Add builder.ConfigureReviewManagement(); 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 authorization handlers for a type of entity that needs user's reviews. (see the product entity review creation authorization handler sample)

  3. Try to create a review.

Reviews Creation

Road map

  • More friendly UI.
  • Unit tests.

About

An abp application module that provides general user review service. For example, a user can review a product he has bought with text, pictures and star-rating.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages