Skip to content

Instantly share code, notes, and snippets.

View rob-derosa's full-sized avatar
🍕

Rob DeRosa rob-derosa

🍕
  • GitHub Staff
  • Colorado
View GitHub Profile

OctoCAT Supply Chain Management System Architecture

This site is a demo application written in TypeScript. The entire app was created originally from an ERD diagram and natural language prompts using Copilot. The frontend was created in the same way, using some of the design ideas in the design folder.

The hero image and product images were created by prompting ChatGPT!

Architecture Overview

The system is a modern supply chain management application built using TypeScript, comprising a backend REST API and a React frontend. It's designed to demonstrate Copilot capabilities using a fairly typical architecture with a little complexity, but not enough to derail demos!

Xbox Anticipated Usage Summary

Xbox would like to use GitHub for traditional collaborative project work for Microsoft employees but they would also like to use it as a distribution mechanism for the GDK+ (Xbox GDK, tooling, scripts, docs, assets, artifacts, etc) to 1st and 3rd party studio developers. This summary is focused on the latter.

There are 2 flavors of the repos that will host the GDK+ that are needed by developers to build Xbox games. These repos host a combination of git data as well as git LFS objects.

Public GDK+ repo

  • aka.ms/gdk
  • hosts the publicly available releases available to anyone who has been granted access to the EMU EA (all devs)

Codespaces, Actions, GHAS Demo

Resources

Pre Demo

  • ensure Code Scan and Reusable Workflow workflows are disabled
  • ensure Deploy Web App to QA is enabled
{
"actions": [
"actions/github-script/*",
"actions/checkout@v3"
]
}
{
"actions": [
"microsoft/*",
"actions/*"
]
}
{
"@actions/core": "^1.2.4",
"@actions/github": "*",
"@types/node-fetch": "*"
}
curl -i -X POST "https://robsformrecognizerresource.cognitiveservices.azure.com/formrecognizer/v2.0-preview/prebuilt/receipt/analyze" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: 502a443d06...d409a5081b587c8d68b" --data-ascii "{ \"url\": \"https://formrecgonizerstorage.blob.core.windows.net/forms/receipt_1_rotated.png\"}"
async static Task RunReceipt()
{
var receiptUrl = "https://formrecgonizerstorage.blob.core.windows.net/forms/receipt_1_rotated.png";
var uri = "https://robsformrecognizerresource.cognitiveservices.azure.com/formrecognizer/v2.0-preview/prebuilt/receipt/analyze";
object body = new { url = receiptUrl };
var requestBody = JsonConvert.SerializeObject(body);
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Dialogs.Choices;
using RocketInsurance.Bot.Models;
//Microsoft 2019
//Rob DeRosa
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;