All Projects → toricls → aws-amplify-sns-workshop-in-vscode

toricls / aws-amplify-sns-workshop-in-vscode

Licence: Apache-2.0 license
VSCode remote-containers environment for "Amplify SNS Workshop"

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to aws-amplify-sns-workshop-in-vscode

transilator
Text translation and synthesization Chrome plugin
Stars: ✭ 44 (+62.96%)
Mutual labels:  aws-amplify
smc2017
Collected code and materials from the intensive course preparing for the workshop on Sequential Monte Carlo (SMC) methods at Uppsala University, August 2017
Stars: ✭ 18 (-33.33%)
Mutual labels:  workshop-materials
nvim-remote-containers
Develop inside docker containers, just like VSCode
Stars: ✭ 340 (+1159.26%)
Mutual labels:  remote-containers
2017-summer-workshop
Exercises, data, and more for our 2017 summer workshop (funded by the Estes Fund and in partnership with Project Jupyter and Berkeley's D-Lab)
Stars: ✭ 33 (+22.22%)
Mutual labels:  workshop-materials
cognito-amplify-custom-auth
A React/Redux web application that implements a custom UI for Cognito Userpool Auth using AWS Amplify
Stars: ✭ 27 (+0%)
Mutual labels:  aws-amplify
rmarkdown-workshop
A workshop format for rmarkdown. Releases contain locations in chronological order
Stars: ✭ 27 (+0%)
Mutual labels:  workshop-materials
OSC19-Linux-Workshop-Sessions
All of the workshop sessions of OSC'19 in .md and .pdf formats.
Stars: ✭ 45 (+66.67%)
Mutual labels:  workshop-materials
armcompanion
Companion materials for the rstudio::conf 2019 Advanced R Markdown workshop
Stars: ✭ 15 (-44.44%)
Mutual labels:  workshop-materials
aws-amplify-cognito-authentication
👬 Fully functioning user authentication with AWS Amplify Cognito - Serverless | Angular ✅
Stars: ✭ 14 (-48.15%)
Mutual labels:  aws-amplify
voice gender detection
♂️♀️ Detect a person's gender from a voice file (90.7% +/- 1.3% accuracy).
Stars: ✭ 51 (+88.89%)
Mutual labels:  workshop-materials
pbiworkshops
Training workshops for Power BI.
Stars: ✭ 238 (+781.48%)
Mutual labels:  workshop-materials
graphql-ttl-transformer
♻ Enable DynamoDB's time-to-live feature to auto-delete old entries in your AWS Amplify API!
Stars: ✭ 75 (+177.78%)
Mutual labels:  aws-amplify
amazon-cognito-example-for-external-idp
An example for using Amazon Cognito together with an external IdP
Stars: ✭ 222 (+722.22%)
Mutual labels:  aws-amplify
workshops
workshops, study guides and learning materials for the Uno Platform
Stars: ✭ 86 (+218.52%)
Mutual labels:  workshop-materials
clojurescript-amplified
Examples on how to setup a ClojureScript web app with tools from the JavaScript ecosystem.
Stars: ✭ 59 (+118.52%)
Mutual labels:  aws-amplify
BarsAppAmplify
React Native Bars App: AWS Amplify, AWS AppSync, AWS Cognito, Google Places, Mapbox
Stars: ✭ 29 (+7.41%)
Mutual labels:  aws-amplify
react-chatbots
Building Chatbots with React, Amazon Lex, AWS Lambda, & AWS Amplify
Stars: ✭ 56 (+107.41%)
Mutual labels:  aws-amplify
basic-amplify-storage-example
A basic example app showing how to add storage with Amazon S3
Stars: ✭ 48 (+77.78%)
Mutual labels:  aws-amplify
react-admin-amplify
AWS Amplify data provider for react-admin.
Stars: ✭ 130 (+381.48%)
Mutual labels:  aws-amplify
aws-reinvent-2019-mobile-workshops
AWS re:Invent 2019 Mobile Workshops
Stars: ✭ 72 (+166.67%)
Mutual labels:  aws-amplify

Run "Amplify SNS Workshop" in Visual Studio Code's Remote Container

With using the VSCode's remote container extension and the files in this repo, you can walk through the Amplify SNS Workshop without installing (unwanted) stuff into your local machine's environment.

We've created and tested this repo on/for macOS, but it also could work on Windows machines 田ミ

Prerequisities

Usage

  • Clone this repo to your local machine
  • Open the cloned directory in Visual Studio Code
  • Open remote container environment by following the vscode's popup window(, then it'll build a new container for you)
  • If you already have existing AWS profile(s) in your local machine and use one of them for the workshop, you can skip the first section of the workshop and start from the section 2.

Structure

Repository

.
├── .devcontainer          <- Configs for the 'Remote - Containers' extension
├── .gitignore
├── copy-boyaki-to-host.sh <- See the "Note" below
├── LICENSE
└── README.md              <- You're reading this file right now :)

In the remote container

/              <- Container's root
...
├── hostdir    <- Mounted host directory (= containers all files and folders of this repository)
...
└── workspaces <- Your working directory :)

Preserving your work

NOTE: You will find the boyaki directory in your remote container during the workshop (so as in the VSCode's explorer) but NOT in your host machine. This is a side-effect of the fix PR #3 (for the issue #2) to speed up the npx create-react-app command, thus you may lose your boyaki files once you stop the remote container. If you need to preserve and/or edit the files inside the boyaki folder outside of your remote container, you can use the bash script copy-boyaki-to-host.sh to copy those in-container files as a zip file boyaki.zip to your host machine's boyaki directory. Simply execute /hostdir/copy-boyaki-to-host.sh inside your remote container and follow the guidance to run it.

Details of the container

1. Installed Packages

via .devcontainer/Dockerfile

  • Node.js v12.x
  • AWS CLI v2.x
  • Amazon Corretto 8 (OpenJDK 1.8.x) for the "Amplify Mocking" feature

via .devcontainer/devcontainer.json

  • AWS Amplify CLI 4.16.1

2. Default configurations

We'd recommend you to use this repository with the default configurations below, but still you can change the configs in the devcontainer.json file and/or the Dockerfile in the .devcontainer directory if you need.

Working directory (inside your remote container)

  • /workspaces

Mounted directories (to your remote container)

  • Your git cloned folder (as /hostdir in the container)
  • Your AWS credentials folder ({$HOME|$USERPROFILE}/.aws). So that you can use your existing AWS profiles for the amplify init command, and you don't need to run the amplify configure command if you use your pre-configured AWS profile.

Forwarded Ports (from host to your remote container)

The following ports are exposed from the remote container and you can access them via your web browser with http://localhost:{PORT_NUMBER}.

  • 3000 (for the local development server, launched by npm start command)
  • 20002 (for Amplify Mocking, launched by amplify mock api command) Make sure to use http://localhost:20002 as the endpoint of the mocked API when you access it via a web browser.

Author

Tori

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].