This commit is contained in:
Meutel 2023-10-22 08:45:27 +02:00
commit 82d1c7b429
6 changed files with 128 additions and 0 deletions

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# Recettes
app de gestion des recettes de cuisines
* web frontend web (angular)
* api API backend (spring boot)
* db scripts DB (mongoDB)
* doc documentations

0
api/.keep Normal file
View File

0
db/.keep Normal file
View File

0
doc/.keep Normal file
View File

120
doc/entites.drawio Normal file
View File

@ -0,0 +1,120 @@
<mxfile host="app.diagrams.net" modified="2023-10-22T06:04:13.239Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" etag="1lc5Phm_osxrt-OZvAHW" version="22.0.6" type="device">
<diagram id="R2lEEEUBdFMjLlhIrx00" name="Page-1">
<mxGraphModel dx="1837" dy="1772" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0" extFonts="Permanent Marker^https://fonts.googleapis.com/css?family=Permanent+Marker">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="7_-yM25gVIURXbISO5PH-2" value="Receipe" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="140" y="-50" width="215" height="200" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-3" value="+name: string&lt;br&gt;+description: string&lt;br&gt;&lt;div&gt;+cookTime: Duration&lt;br&gt;&lt;/div&gt;&lt;div&gt;+ prepTime: Duration&lt;/div&gt;&lt;div&gt;+ author: string&lt;/div&gt;&lt;div&gt;+ receipeYield: { Quantity, what }&lt;br&gt;&lt;/div&gt;" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="7_-yM25gVIURXbISO5PH-2">
<mxGeometry y="50" width="215" height="150" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-4" value="Ingredient" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="380" y="290" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-5" value="&lt;div&gt;+ quantity: Quantiy&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="7_-yM25gVIURXbISO5PH-4">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-6" value="&lt;div&gt;Step&lt;/div&gt;" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="190" y="290" width="160" height="120" as="geometry">
<mxRectangle x="190" y="250" width="70" height="50" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-7" value="&lt;div&gt;+ position: integer&lt;/div&gt;&lt;div&gt;+ text: string&lt;/div&gt;&lt;div&gt;+ tips: string&lt;br&gt;&lt;/div&gt;" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="7_-yM25gVIURXbISO5PH-6">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-8" value="Diet" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" vertex="1" parent="1">
<mxGeometry x="605" y="470" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-9" value="&lt;div&gt;+ name: string&lt;/div&gt;&lt;div&gt;+ description: string&lt;br&gt;&lt;/div&gt;" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="7_-yM25gVIURXbISO5PH-8">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-10" value="Picture" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
<mxGeometry x="-40" y="275" width="200" height="150" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-11" value="&lt;div&gt;+ description: string&lt;/div&gt;&lt;div&gt;+ files: [ImageFileResolution]&lt;br&gt;&lt;/div&gt;" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="7_-yM25gVIURXbISO5PH-10">
<mxGeometry y="50" width="200" height="100" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-12" value="ReceipeCategory" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" vertex="1" parent="1">
<mxGeometry x="605" y="200" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-13" value="+ name: string" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="7_-yM25gVIURXbISO5PH-12">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-14" value="" style="edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;exitDx=0;exitDy=0;jumpStyle=none;noEdgeStyle=1;orthogonal=1;exitPerimeter=0;" edge="1" parent="1" source="7_-yM25gVIURXbISO5PH-2" target="7_-yM25gVIURXbISO5PH-4">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="675" y="110" as="sourcePoint" />
<mxPoint x="575" y="210" as="targetPoint" />
<Array as="points">
<mxPoint x="323.3333333333333" y="162" />
<mxPoint x="460" y="238" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-16" value="" style="edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;entryDx=0;entryDy=0;entryPerimeter=0;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="7_-yM25gVIURXbISO5PH-3" target="7_-yM25gVIURXbISO5PH-12">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="370" y="560" as="sourcePoint" />
<mxPoint x="470" y="460" as="targetPoint" />
<Array as="points">
<mxPoint x="685" y="112" />
<mxPoint x="685" y="188" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-17" value="" style="edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;exitDx=0;exitDy=0;exitPerimeter=0;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="7_-yM25gVIURXbISO5PH-2" target="7_-yM25gVIURXbISO5PH-10">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="690" y="400" as="sourcePoint" />
<mxPoint x="790" y="300" as="targetPoint" />
<Array as="points">
<mxPoint x="216.66666666666666" y="162" />
<mxPoint x="80" y="238" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-18" value="" style="edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;noEdgeStyle=1;orthogonal=1;" edge="1" parent="1" source="7_-yM25gVIURXbISO5PH-2" target="7_-yM25gVIURXbISO5PH-6">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="700" y="640" as="sourcePoint" />
<mxPoint x="800" y="540" as="targetPoint" />
<Array as="points">
<mxPoint x="270" y="164" />
<mxPoint x="270" y="238" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-20" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToMany;endFill=1;rounded=0;exitX=1.001;exitY=0.217;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="7_-yM25gVIURXbISO5PH-8" target="7_-yM25gVIURXbISO5PH-8">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="860" y="520" as="sourcePoint" />
<mxPoint x="960" y="420" as="targetPoint" />
<Array as="points">
<mxPoint x="825" y="530" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-21" value="&lt;div&gt;contains&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="7_-yM25gVIURXbISO5PH-20">
<mxGeometry x="-0.357" y="1" relative="1" as="geometry">
<mxPoint y="-12" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-22" value="IngredientType" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" vertex="1" parent="1">
<mxGeometry x="380" y="470" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-23" value="&lt;div&gt;+ name: string&lt;/div&gt;&lt;div&gt;+ season: string&lt;br&gt;&lt;/div&gt;" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="7_-yM25gVIURXbISO5PH-22">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-26" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;" edge="1" parent="1" source="7_-yM25gVIURXbISO5PH-22" target="7_-yM25gVIURXbISO5PH-8">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="360" y="420" as="sourcePoint" />
<mxPoint x="460" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="7_-yM25gVIURXbISO5PH-27" value="" style="fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="7_-yM25gVIURXbISO5PH-4" target="7_-yM25gVIURXbISO5PH-22">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="360" y="420" as="sourcePoint" />
<mxPoint x="460" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

0
web/.keep Normal file
View File