Coder Social home page Coder Social logo

thdotnet / sunrise-standup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunrise-standup/sunrise-standup

0.0 1.0 0.0 1.17 MB

Static Web App for Sunrise Standup

Home Page: https://www.sunrisestandup.com

JavaScript 86.21% HTML 5.81% CSS 6.08% Shell 0.40% SCSS 1.49%

sunrise-standup's Introduction

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. You'll need read:user permissions.

  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

  5. Go to the Resource Group and under "Settings", select "Deployments". Select the "Microsoft.Template" item and then select "Outputs" to display the keys needed for the Sunrise Standup. You'll be using these keys when you setup the application.

    outputs from resource group

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 template output in the portal.

local.settings.json setting Template output
STORAGE_ACCOUNT storage_account
STORAGE_KEY storage_key
STORAGE_CONNECTION_STRING storage_connection_string
MAP_KEY map_key
AI_API_KEY ai_api_key
GITHUB_API_KEY Github API key

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.

sunrise-standup's People

Contributors

burkeholland avatar thdotnet avatar msftgits avatar btholt avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.