Coder Social home page Coder Social logo

mlabieniec / angularmaterialpwa Goto Github PK

View Code? Open in Web Editor NEW
57.0 2.0 33.0 29.54 MB

Angular Material Progressive Web Application Tutorial

Home Page: https://medium.com/@michaellabieniec/part-1-building-a-progressive-web-application-pwa-with-angular-material-and-aws-amplify-5c741c957259

License: GNU General Public License v3.0

JavaScript 3.05% TypeScript 70.84% HTML 14.44% SCSS 11.68%

angularmaterialpwa's Introduction

Angular Material PWA

This repository is the completed parts and code for this blog post series.

Each part is an independent application that can be served. If you are following the blog post and want to create part two yourself, just copy partOne to a new application and follow the part two post. Please open an issue if you find bugs or have questions.

Build Your Own App

To use as a scaffold for your own PWA, you can copy partTwo which has authentication/authorization in it, or partOne if you don't want auth started yet (which is part two of the blog series).

$ cp -fR AngularMaterialPWA/partTwo ./my-app
$ cd my-app && npm i
$ amplify init
$ amplify add auth # Check the blog post (part 2) for relevent answers for the auth setup
$ amplify add hosting

angularmaterialpwa's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

angularmaterialpwa's Issues

Federated sign in fails with custom domain

Describe the bug

USING BRANCH: mlab/ng-9-upda…

I set up amplify with a custom domain. and modified all the urls accordingly (https://mydomain/auth/ and https://mydomain/auth/signin/) in all the required places.

Clicking on one of the social provider, triggers the process and lands me on this url: https://www.mydomain.com/auth#_=_
But i am not authenticated.
In the console i see this log briefly : fb results: undefined

be aware that it works perfectly when i used it with localhost 4200

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://mydomain/auth/signin/'
  2. Click on 'sign in with facebook'

Expected behavior
to land on the home page and see home works!"

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macos catalina
  • Browser chrome

searchText missing

Is there a disconnect between the filter pipe and country code select? Perhaps I missed something.

ERROR in src\app\auth\country-code-select\country-code-select.component.html(2,21): : Property 'searchText' does not exist on type 'CountryCodeSelectComponent'.
src\app\auth\country-code-select\country-code-select.component.html(5,22): : Property 'searchText' does not exist on type 'CountryCodeSelectComponent'.
src\app\auth\country-code-select\country-code-select.component.html(2,21): : Property 'searchText' does not exist on type 'CountryCodeSelectComponent'.

good article
mn

Angular 8 update

when you run it with angular you need to add

(window as any).process = {
env: { DEBUG: undefined },
};

in polifills

Avatar upload fails

Michael - thanks for this comprehensive sample app. Most things are working, but I'm having a problem with the avatar image upload. I'm getting a 403 error on Storage.put(). The bucket exists and has full permissions for the root account. Is this a Cognito problem? Where should I look to find the problem?

Thanks
Dan

Auth component is blank

Please add

this._router.navigate(['/auth/signin']);

at the ngOnInit method of auth,component.ts

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.