Sunrise Standup is a status update application built as a demo for Build 2020. It allows users to submit a 15 second status update video clip and displays those clips in order by date in a feed. The user's location is recorded and displayed on an interactive map.
This application levarages several Azure resources...
- Azure Storage for video uploads
- Cognitive Services for video transcription
- Azure Maps for the interactive map control
- Video Indexer to pull thumbnails off of videos
- Logic Apps to create a thumbnail when a video is uploaded
-
Create a Video Index account and go to your profile page. here, Make note of your primary key.
-
Get a Github Personal API key and make note of it.
-
Click the button below which will setup all of the required resources in Azure. You'll need to provide the video indexer key from step 1. Make sure you change the value of "unique-prefix" to something unique.
-
Once finished, the following resources will be deployed...
-
Clone (or Fork and Clone) this repository
-
Rename the "api/local.settings.json.rename" to "api/local.settings.json".
The "local.settings.json" file holds all of the keys that the application needs. You'll need to copy these keys in from the corresponding services in the portal.
local.settings.json setting | Azure service |
---|---|
STORAGE_ACCOUNT | Azure Storage |
STORAGE_KEY | Azure Storage |
STORAGE_CONNECTION_STRING | Azure Storage |
MAP_KEY | Azure Maps |
AI_API_KEY | Cognitive Services |
GITHUB_API_KEY | Github |
This project can be run anywhere, but VS Code is required for local debugging.
- Open the application with VS Code.
-
Install frontend dependencies...
npm install
-
Run the frontend project in the browser (automatically opens a browser window).
npm start
- From VS Code, press F5
-
Create a new Static Web App.
-
Select the Github repo for this project from the Azure Web Apps create screen.
For more information on Static Web Apps, check out the Static Web Apps documentation.