Skip to content

Instantly share code, notes, and snippets.

View gabehollombe-aws's full-sized avatar

Gabe Hollombe gabehollombe-aws

View GitHub Profile
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Lambda resource stack creation using Amplify CLI",
"Parameters": {
"env": {
"Type": "String"
},
"DynamoDBPhotoTableArn": {
"Type": "String",
"Default": "DYNAMODB_PHOTO_TABLE_ARN_PLACEHOLDER"
@gabehollombe-aws
gabehollombe-aws / App.js
Created November 21, 2018 03:39
React webapp for photo albums using AppSync. This version includes lightbox style clickable photos for fullsize pics.
// photo-albums/src/App.js
import React, { Component } from 'react';
import {BrowserRouter as Router, Route, NavLink} from 'react-router-dom';
import { Container, Divider, Form, Grid, Header, Input, List, Modal, Segment } from 'semantic-ui-react';
import {v4 as uuid} from 'uuid';
import { Connect, S3Image, withAuthenticator } from 'aws-amplify-react';
import Amplify, { API, graphqlOperation, Storage } from 'aws-amplify';