christopher-frick / letslink-0.1

This is an full-stack e-marketplace platform where sellers can manage their profiles and digital products
https://beta.letslink.ch
0 stars 0 forks source link

Customize the generated entities to fit business needs #19

Closed christopher-frick closed 1 year ago

christopher-frick commented 2 years ago
  1. Identify the different business needs 1.1 For the Buyer, what should they be able to perform 1.2 For the Sellers, what should they be able to perform
  2. Then customize backend (API, Services)
  3. Finally, customize frontend

customization workflow

  1. Edit config/securityConfiguration.java make endpoint available
  2. Edit roles needed to perform CRUD actions on specific endpoints in web.rest/*Ressource.java
  3. Edit services to make distinction how to handle depending on ROLE_USER or ROLE_ADMIN
  4. Edit front

Disable user self registration, only admin can do it

Seller-profiles

Products