Skip to content

HamzaBoukraa/sunrise-standup

 
 

Repository files navigation

Sunrise Standup

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.

sunrise-standup-demo

This application levarages several Azure resources...

  1. Azure Storage for video uploads
  2. Cognitive Services for video transcription
  3. Azure Maps for the interactive map control
  4. Video Indexer to pull thumbnails off of videos
  5. Logic Apps to create a thumbnail when a video is uploaded

Setup Azure Resources

  1. Create a Video Index account and go to your profile page. here, Make note of your primary key.

    video indexer key screen

  2. Get a Github Personal API key and make note of it.

  3. 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.

    Deploy to Azure

    custom deployment screen in Azure Portal

  4. Once finished, the following resources will be deployed...

    deployed resources deiplayed in Azure Portal

Setup application

  1. Clone (or Fork and Clone) this repository

  2. 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

Running the application locally

This project can be run anywhere, but VS Code is required for local debugging.

  1. Open the application with VS Code.

Running the frontend

  1. Install frontend dependencies...

    npm install
  2. Run the frontend project in the browser (automatically opens a browser window).

    npm start

Running the API

  1. From VS Code, press F5

Deploying the App to Static Web Apps

  1. Create a new Static Web App.

  2. 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.

About

Static Web App for Sunrise Standup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.6%
  • CSS 7.6%
  • HTML 5.8%