Code Monkey home page Code Monkey logo

scalable-angular-app's Introduction

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.

scalable-angular-app's People

Contributors

ashpr avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sandeep477

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.