GithubHelp home page GithubHelp logo

willstreeter / ws-ngx-login-demo Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 315 KB

A desktop Angular X application facilitating User login and registration to gain access to guarded content. The purpose of the application is to show an approach to removing a presentational component's direct references to a Redux Store.

TypeScript 70.17% JavaScript 4.60% HTML 8.15% CSS 16.65% Makefile 0.43%
ngrx angular4 angular-material2 angular-flex-layout docker docker-compose angular-seed pubsubbroker

ws-ngx-login-demo's Introduction

ws-ngx-login-demo

A front-end application written in TypeScript using the Angular 4.1.x framework.

Prominent Libraries used:

Architecture:

This front-end application is a part of a larger effort using NodeJS and Docker to demonstrate and highlight some of the principals and concepts reviewed in the article Practical Web Development and Architecture.

The application accomplishes user registration and login to access protected content. While this application uses NGRx's libraries to facilitate a Redux architectural pattern, the use of the PubSubBroker and Brokerage modules implemented in the business-layer creates a different approach to the relationship between components and the Redux Store. The PubSubBroker demonstrates a method for enhancing the "separation of concerns" by de-coupling the view-layer from any direct references to services in the data-layer such as those used in a typical NGRx paradigm. Information detailing the rational for implementing this de-coupling mechanism can be reviewed in the article Optimal Angular : PubSub With NGRx.

ws-dev-docker-example is the repository used to bundle this application along with three other submodules in a demonstration of using docker-compose to orchestrate development on a FullStack. Those submodules are located in the GitHub repositories listed below.

How these containers are used as a bundle to facilitate a FullStack approach for developing with Docker is delineated in the article, Docker is my {I.D.E}

Although the application is best understood as a part of the larger overall effort demonstrated with the ws-dev-docker-example, it can still be cloned and stood up without the use of the Docker bundle. To use this application as a separate standalone entity, use the serverless branch.

Ways to construct the this application with or without Docker

  1. BareMetal (Installing libraries and running it on your machine's OS)

   $> git fetch

   $> git checkout origin/serverless

   $> npm install

   $> npm run start

  1. Using Docker to run standalone application (You must have Docker client installed)

   $> git fetch

   $> git checkout origin/serverless

   $> docker-compose up

  1. Using the FullStack ( NodeJs, Mongo, NGINX, This NGX app )

TODO

  • configure css for responsive layout
  • develop more extensive testing
  • demonstrate documentation with compodoc

ws-ngx-login-demo's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

sb2407

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.