Skip to content

Commit

Permalink
docs: add database diagrame as image to the subject (#2230)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanninso authored Oct 2, 2023
1 parent 620ff8f commit be0f420
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 1 addition & 21 deletions subjects/java/projects/buy-01/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,7 @@ Develop an end-to-end e-commerce platform with Spring Boot microservices and Ang

#### 2. Enhanced Database Design

+---------------------------+ 1 n +------------------------+
| User | ---------------> | Product |
+---------------------------+ +------------------------+
| +String id | | +String id |
| +String name | | +String name |
| +String email | | +String description |
| +String password | | +Double price |
| +Enum role (client/seller)| | +Int quantity |
| +String avatar | | +String userId |
+---------------------------+ +------------+-----------+
|
| 1 n
|
+------------v-----------+
| Media |
+------------------------+
| +String id |
| +String imagePath |
| +String productId |
+------------------------+

![DataBase Design](https://github.com/01-edu/public/tree/CON-2194-Fix-Bad-Diagrame-Rendring-related-to-issue-2229/subjects/java/projects/buy-01/Database-Design.png)

#### 3. API Development Enhancement

Expand Down

0 comments on commit be0f420

Please sign in to comment.