Giter Site home page Giter Site logo

avatsaev / angular-contacts-app-example Goto Github PK

View Code? Open in Web Editor NEW
628.0 34.0 206.0 1 MB

Full Stack Angular PWA example app with NgRx & NestJS

Home Page: http://angular-contacts-ngrx.surge.sh

License: MIT License

TypeScript 85.76% JavaScript 2.70% HTML 8.77% CSS 1.27% Dockerfile 1.51%
angular angular4 ngrx-store ngrx ngrx-effects bootstrap4 ng-bootstrap ngrx-entity socket socket-io

angular-contacts-app-example's Introduction

angular-contacts-app-example's People

Contributors

angular-cli avatar avatsaev avatar mehdirajani5 avatar pktippa avatar

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  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  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

angular-contacts-app-example's Issues

no data displayed

i tried running the backend and the client and no data displayed on the browser.

CRUD don't work.

Please, can you fix I tried running the Contacts app and perform the CRUD I don't see its working it doesn't move.

Thank you.

compose-angular-contacts-app-example

how to do it? im not familiar with docker. im using windows. in your package.json file no docker and docker-compose. i think there's something wrong of your changes. docker-compose up not recognized.

Toolbar title: Expression changed after change detection

Description

Currently lazy loaded container views change the page title of the toolbar. Considering views are at the bottom of the component tree, and change data of top level component (toolbar title), it violates angular's one way data flow principle (Data must flow from top to bottom).

Proposal

  • Dispatch set title action at main app component level, and store route titles in router data.

OR

  • Use route resolvers to dispatch the set title action

Ws connection failed (localhost, docker)

Describe the bug
The ws connection from angular app on port 3000 doesn't work (connection failed)

To Reproduce
Steps to reproduce the behavior:

  1. Launch the docker container
  2. Launch angular application
  3. See error printed on browser console

Expected behavior
Connection established on local port 3000 as of original mapping on docker compose definition

Unable to add contact in Demo

Describe the bug
Unable to add a contact in Demo

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://angular-contacts-ngrx.surge.sh'
  2. Click on '+new'
  3. Fill the form
  4. Submit a form
  5. The contact list is still empty

Expected behavior
The contact list should be populated with added contact.

Desktop (please complete the following information):

  • OS: iOS
  • Browser Chrome
  • Version 76.0.3809.100 (Official Build) (64-bit)

Error when running container

Describe the bug
After cloning repo and install dependencys
npm i
Getting error when run
docker-compose up -d
output
=> [stage-1 2/4] COPY nginx/default.conf /etc/nginx/conf.d/ 0.2s
=> [stage-1 3/4] RUN rm -rf /usr/share/nginx/html/* 0.6s
=> [builder 2/6] COPY package.json package-lock.json ./ 0.3s
=> ERROR [builder 3/6] RUN npm ci && mkdir /ng-app && mv ./node_modules ./ng-app/

To Reproduce
Steps to reproduce the behavior:
Clone repo
run
npm i
docker-compose up -d

Expected behavior
run client

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

Desktop (please complete the following information):

  • OS: [e.g. ubuntu 20.4 and windows]

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.