Skip to content

Commit

Permalink
Merge pull request #46 from helpfulengineering/BLOB-JSON
Browse files Browse the repository at this point in the history
Blob json
  • Loading branch information
RobertLRead authored Nov 11, 2024
2 parents 53641a1 + 8b45000 commit b8690ea
Show file tree
Hide file tree
Showing 6 changed files with 468 additions and 272 deletions.
1 change: 1 addition & 0 deletions packages/back-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@azure/functions": "^4.0.0",
"@azure/identity": "^4.4.1",
"@azure/storage-blob": "^12.25.0",
"yaml": "^2.6.0",
"lodash": "^4.17.21"
},
"devDependencies": {
Expand Down
124 changes: 124 additions & 0 deletions packages/back-end/src/dummyData/exampleProducts.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
export const example_products = [
{
medical_products: [
{
id: 1,
name: "IV Bag Hook",
image:
"https://field-ready-projects.openknowhow.org/images/HL003-attC88mXadLwq4sLy-400x300.jpg",
shortDescription: "For IV bags to be hung",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
{
id: 2,
name: "Oxygen Supply Fitting",
image:
"https://field-ready-projects.openknowhow.org/images/HL002-attmlR243asYolZRO-400x300.jpg",
shortDescription:
"Adapter that connects oxygen supply tubing to standard oxygen systems",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
{
id: 3,
name: "Umbilical Cord Clamp",
image:
"https://field-ready-projects.openknowhow.org/images/HL001-attG43ftDEHSUFPVG-400x300.jpg",
shortDescription:
"Enclosure of umbilical cords of newborns to prevent sepsis",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
{
id: 4,
name: "Finger Brace",
image:
"https://field-ready-projects.openknowhow.org/images/HL005-attgxsUzHxoTnTmSP-400x300.jpg",
shortDescription: "In order to keep a injured index finger immobile",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
],
automotive_products: [
{
id: 6,
name: "Water Truck Clamp",
image:
"https://field-ready-projects.openknowhow.org/images/WA012-attbQe9vW0QdVGkqD-400x300.jpg",
shortDescription:
"Clamps over the hose on the outlet of a water distribution truck to create a seal",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
{
id: 7,
name: "Jerry Can Roller",
image:
"https://field-ready-projects.openknowhow.org/images/WA013-attjDSod18c5Ru8PN-400x300.jpeg",
shortDescription: "Transports 80 litres of drinking water",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
{
id: 8,
name: "Make-Fit Pipe Fitting",
image:
"https://field-ready-projects.openknowhow.org/images/WA016-attP4Uy56ROfYjAjF-400x300.jpg",
shortDescription:
"Using Make-Fit app a range of 3DP pipe fitting can be produced",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
{
id: 9,
name: "Straight Coupler",
image:
"https://field-ready-projects.openknowhow.org/images/WA010-attuWhYn15CARwJu4-400x300.jpg",
shortDescription: "20.5/16.5 straight coupler used to join to pipes.",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
],
consumer_products: [
{
id: 10,
name: "Baby Crib",
image:
"https://field-ready-projects.openknowhow.org/images/CP002-attt4t66rFpYaqdTj-400x300.jpeg",
shortDescription: "Provides a safe area for a baby to sleep",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
{
id: 11,
name: "Play Pen",
image:
"https://field-ready-projects.openknowhow.org/images/CP003-attz3CoRAhIzA5x9v-400x300.jpeg",
shortDescription: "Provides a safe area for a child to play",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
{
id: 12,
name: "Duoband Yagi Antenna",
image:
"https://field-ready-projects.openknowhow.org/images/DR002-attJBcwM43eItgWAE-400x300.jpg",
shortDescription:
"3D printed bespoke parts to construct standard antenna design",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
{
id: 13,
name: "Rescue Airbag",
image:
"https://field-ready-projects.openknowhow.org/images/DR001-att5yL3AEAbc3wDh2-400x300.png",
shortDescription:
"For first responders to remove large blocks of debris",
projectLink: "project-link",
manifestAuthor: "manifest-author",
},
],
},
];
209 changes: 0 additions & 209 deletions packages/back-end/src/functions/getOKH.ts

This file was deleted.

Loading

0 comments on commit b8690ea

Please sign in to comment.