Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.73 KB

File metadata and controls

50 lines (33 loc) · 1.73 KB

Envelope

Fully functional Angular app acting as a shell for micro apps


Technologies and tools used

Current status:

  • ✔️ Angular 8
  • ✔️ Lazy loading
  • ✔️ External bundles loaded once at startup, lightweight micro apps
  • ✔️ Angular router fully working (❕ with additional boilerplate in other micro apps)
  • ❌ Ivy compiler [not supported yet]

Setup / Usage / How to

Development server

Run npm run start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files. You can also test production setup running npm run start:prod

Build

Run npm run bundle to copy needed assets and build the project. The build artifacts will be stored in the dist/ directory.

Serve production build statics

Run npm run server

Running unit tests

Run npm run test to execute the unit tests via Karma.

Running end-to-end tests

Run npm run e2e to execute the end-to-end tests via Protractor.


Areas for improvements

  • Angular routing: some global actions (back and forward action behaviour) are being caught by all Angular micro-apps currently run in single web page