Git Product home page Git Product logo

enterprise-angular-seed's Introduction

Angular-CLI based Angular Seed

Dependencies

This project was generated with Angular CLI version 1.6.0. Please install angular cli to make use of this project first.. npm i -g @angular/cli OR yarn global add @angular/cli

This application also makes uses of yarn to install dependencies.. please install yarn 'npm i -g yarn' Once yarn is installed. you can use yarn add pkg or yarn add pkg -D to install any dependency.

if you use npm to install packages - it will fail with error saying yarn-or-die. That's your cue to use yarn command.

Features of this seed

  • Uses angular-cli to scaffold the project
  • Base reset CSS (via normalize.css and sanitize.css)
  • Uses slim scrollbars for the content page
  • Entire application is lazy loaded only - even the home page
  • Uses yarn for any new package install and controls yarn-lock file..
  • conditional console.log output controlled via environment.ts?
  • Adds demo pages to use salient application upgrades
    • Uses primeNG for some basic widgets
    • Authorization directive
    • Authorization canLoad guards using ngx-directives
    • Progress / Busy Indicator Directive
    • Uses Animations
    • Uses More better and subtle Animations
    • Dynamic component loader example
    • JSON schema based dynamic forms
    • Form validations
  • Small Chart demo using Chartist
  • Prettier to format the code automatically
  • Automated build and deploy to gh_pages on github
  • OAuth authentication

Notes

  • IE 11 support is disabled by default. If you need to support IE11 - please uncheck appropriate blocks in polyfills.ts. This increases size of polyfills bundle file.

Salient Features

  • Uses angular 5.0.0+. So optimizer is available.
  • Everything is lazy loaded. App module contains nothing. It simply redirects to home module.
  • Slim scrollbars using perfect-scrollbars. See configuration in home.module. Still need to experiment with configuration and individual component level setup.
  • configurable logging using loglevel. see configuration in app.component.ts. You can override the same in each component if you so desire. In Production the log level are automatically set to 'warn' via environment variable.
  • Loader / spinner directive.. There are couple of options.. e.g. ngx-loading - this is simple.. but developer must remember to turn on and off! On the other hand angular2-busy only refers to observables.. but seems little unsupported at the moment.
    • angular2-busy is working but puts the backdrop on the entire page.. not to the host element only. Also it is adding platform-browser-dynamic - which is fairly big chunk.. hence I must go for another alternative..
  • Authorization is provided via ngx-permissions. To use - we must make a call to BE to retrieve available roles and permissions. Eventually - the entire game is of permissions only using two directives.
    • Need to add RouteGuard example as well as programmatic access to authentication data in modules.
  • Animation is implemented for route animation for now. Need more complex animation cases implemented.
  • PrimeNG menubar is implemented.
    • Purposefully, font-awesome is not included as the moment as usually.. it is clunky download for couple of icons.
  • A catch all component call not-found is looking for any incorrect routing.
  • Header and sticky footer has been implemented.
  • Application code gets formatted automatically as part of git commit so code sent for review is always formatted!

enterprise-angular-seed'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  avatar  avatar

Watchers

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

enterprise-angular-seed's Issues

How to add SSR/Universal?

Hi,

is it possible to integrate Angular Universal in this project for SSR somehow?
Any tips, guidance or whatsoever is appreciated.

What I would like as an end result is a server.js file, so that I can run this project on my VPS to show some people what this project is about and possibly develop it further.

Thanks in advance,
Thomas.

bug: Animations

Improve animations to use more subtle but more effective animations for router.
Also add animations for other rendering.
Consider non-Angular animations as well.

feature: Wiki pages

Write few wiki pages to discuss selection of certain components over other.. e.g. busy indicators are a good topic where we need to write a wiki page.

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.