Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ashpr/scalable-angular-app

Open more actions menu

Repository files navigation

CI

Scalable Angular Application

This repo accompanies the Medium article found here:

https://medium.com/@ashprosser/scalable-angular-project-structure-and-practices-3908b8edf0f2

Technologies and concepts

Tech Purpose
Feature Modules Break down the codebase into sections focused on features
Module-per-component Each component has an explicit list of dependencies and can be easily imported into other components or apps if needs be
Pages Page components are the middleman between the state/API and the UI. Results in a better seperation of concerns and easier testing
Spectator Testing Easier unit testing
Runtime configuration Build once deploy everywhere. The application can be configured via token replacement on the JSON file in assets/appconfig.json
App Router All routes are in their own subfolders that match the applications url structure
Testing Utilities Utilities for testing across the entire app or testing per feature. Makes use of builders
Configuration using Injection Tokens Easier unit testing

Got questions?

Raise an issue! I'm always happy to help as long as you're polite.

Got suggestions?

Make a pull request! They will be reviewed and discussed as soon as I have the time.

Copyright and license

Copyright 2020 Ashley Prosser. Code released under the MIT license.

About

Template for scalable Angular applications

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.