jerobins / smartbuildkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smart Building Kit

This repository contains code for the Smart Building Kit from AWS, Semtech & TensorIoT

Project Architecture

ATK SBK Architecture

Installation Instructions

Prerequisites

  1. Clone this repo
  2. AWS Account & Access keys configured on your local desktop
  3. Access to deploy cloudformation
  4. Cognito User Pool with a web client id
  5. AWS cli
  6. AWS sam cli
  7. nodejs
  8. yarn

Backend Build & Deployment

  1. change directory into the Backend folder
  2. sam build
  3. sam deploy --guided
  4. Note down the api gateway url that is outputed as part of the above step

Frontend Build & Startup

  1. change directory into the Frontend folder
  2. Open the file Frontend/src/utils/API.js
  • Update line number 4 with the api gateway url from above backend install step
  1. Open the file Frontend/src/awsConfig.js
  • Update lines 6, 7 and 8 with the relavant cognito information
  1. yarn install
  2. yarn start

About


Languages

Language:JavaScript 68.0%Language:Python 29.5%Language:CSS 1.6%Language:HTML 0.9%