Code Monkey home page Code Monkey logo

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

Setup Azure Resources

Before you can run the application, you'll need to setup Azure Storage (for uploading videos) and Azure Maps for the interactive map. You'll need to setup both of those resources and copy the correct keys into the app settings files.

  1. Rename the "api/local.settings.json.rename" to "api/local.settings.json".

  2. Rename the ".env.rename" to ".env"

Setup Azure Storage

  1. Create a new Azure Storage account.

  2. Create two containers - "raw" and "thumbnails". The "raw" folder holds the videos, and the "thumbnails" folder will hold the video thubnails.

  3. From the "Access keys" section, copy the following values into the "local.settings.json" file.

    Access key setting local.settings.json setting
    Storage account name STORAGE_ACCOUNT
    Key STORAGE_KEY
    Connection string STORAGE_CONNECTION_STRING
  4. Set the value of "STORAGE_ACCOUNT" in the ".env" file.

Setup Azure Maps

  1. Create a new Azure Map

  2. Copy the "Primary key" to the "MAP_KEY" setting of the ".env" file.

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

btholt avatar burkeholland avatar

Watchers

 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.