GithubHelp home page GithubHelp logo

vittorio-nardone / amplify-101 Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 3.0 1.77 MB

First exploration of AWS Amplify - Multiplication tables

Python 20.67% HTML 3.93% CSS 5.03% JavaScript 68.22% Dockerfile 2.15%

amplify-101's Introduction

Amplify 101

This project is my first approach to AWS Amplify framework. It's a test web application to teach multiplication tables to my son.

Frontend application is developed in React. Backend is implemented using Amplify framework, Lambda (Python) functions and DynamoDB.

Test your math skills!

Prerequisites

  • Node.js v10.x or later
  • npm v5.x or later
  • git v2.14.1 or later
  • AWS Account
  • Amplify CLI installed and configured

AWS Amplify Tutorial

I used this tutorial to learn about AWS Amplify:

https://docs.amplify.aws/start/getting-started/installation/q/integration/react

CI Docker image

Amplify can't find Python3.8 on build phase of CI/CD using default build image. To fix this bug, a custom Docker image is used in build phase. Opened issue

Typical Docker tasks

# Pull from Docker Hub
docker pull vnardone/amplify-python38:latest
# Run image
docker run -it vnardone/amplify-python38 bash

# Use as base image
FROM vnardone/amplify-python38:latest

Cypress End to End testing

Cypress is used in CI pipeline to perform end to end testing of Amplify application. Configuration file cypress.json add shadow DOM support.

Tests are defined in multiply_test.js. CI test phase is defined in amplify.yml configuration file.

CI Test phase video

amplify-101's People

Contributors

vittorio-nardone avatar

Stargazers

 avatar Bill Sinclair avatar sj avatar Felix Lee avatar

Watchers

James Cloos avatar  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.