r/angularjs • • Aug 27 '15

Are there any reasonably large open source projects that use Angular that one can look at to see how Angular is used in large projects?

50 Upvotes

16 comments sorted by

5

u/jimschubert Aug 27 '15

Taiga.io is a django backend and Angular frontend. Frontend code.

2

u/tidemann78 Aug 27 '15

I would take a look at John Papa's Code Camper B-MEAN Demo and his Angular Style Guide

2

u/[deleted] Aug 27 '15 edited Aug 27 '15

There's a few on the Angular blog and this demo app on Github. You probably also want to check out the Built With Angular site.

1

u/[deleted] Aug 27 '15

Related to this topic I have to say that large angular projects are hard to keep simple.

A relatively small app, that is properly modularized, with about 10 modules is a bit complex to navigate for my taste. Specially if you follow the best practice of extracting services, and you have a lot of files in a lot of folders.

In my opinion this gets out of hand in large applications.

The best "solution" I have worked with for this is to use npm and a private git repos for each appropriate module. This adds the drawback of a relatively complex JS build step and requires you to work on the modules separately (we did it in a TDD-ish fashion) but in return completely hides all unrelated module internals.

Please note that this approach is not suitable for anything but really large applications, it probaby won't play well with simple websites. I tried it on my pet-projects, and it's way to complex. Sadly the code I worked with is proprietary and I don't have access to it so I can't share it. It is an IONIC-app and a webb-app that share a lot of code. I am guessing that it is probably a million lines of code in total (tests included, probably close to 70-75% of total).

1

u/f801fe8957 Aug 27 '15

Don't know if it's large enough for you, but ProtonMail is written in Angular.

1

u/ben_uk Aug 27 '15 edited Aug 27 '15

Since AngularJS is all client-side you could always just save a page to your desktop and deminify the JS.

Also E-Sign use Angular for their app.

And Discover North East Lincolnshire for their website.

1

u/amirmikhak Aug 27 '15

Ionic framework? Not an app per se, but pretty big nonetheless.

1

u/spamguy21 Aug 27 '15

My Diplomacy client is written in Angular and getting to be pretty hefty. The repo is here. I'm up to four or five modules and don't feel swamped yet.

1

u/wicheesecurds Aug 27 '15

Habitrpg task manager is open source and angular

1

u/schizoduckie Aug 27 '15 edited Aug 29 '15

DuckieTV is pretty big already :) Loads of commented code, still learning though!

I have some of my own conventions, one of them being "make sure the project works without tooling directly after checkout" so you can just load it as an unpacked extension after checkout and get fiddling :)

2

u/buildport Aug 29 '15

This was the project that came into mind when I read this question :)

Unrelated: How do you, with a popular project such as DuckieTV, feel about the whole Angular 1 -> 2 shift? Are you going to rewrite it in Angular 2? Switch over to a different framework? Stay as 1?

1

u/schizoduckie Aug 29 '15

I'm not in any rush at all to adopt Angular 2. As far as I see it, it's still nowhere near done and putting my time and effort into rewriting everything is useless, so I'm taking the "sit back and relax while others figure out the kinks" approach.

I observed the fud over the lack of an upgrade path that people were spreading when the specs weren't even fleshed out and I can only smile.

We have a very small DuckieTV team that worked hard to learn to find their way in angular 1.x (which is why I started DuckieTV in the first place, I'm working with angular professionally and needed a toy project to set up from scratch) It would be a very bad and selfish decision imo to force the rest of the team members to throw all of that knowledge overboard and start learning es6 and angular 2 alpha.

Ofcourse, I try to follow some good practices to make the upgrade smooth when it's inevitably going to happen (using controllerAs, properly use dependency injection, use inheritance where needed and all that), but other than that for now I worry about nothing :)

1

u/buildport Aug 29 '15

I think that's such a good way to approach this situation. I've invested way too much of my time into learning Angular 1.x to completely jump ship anytime soon. I still continue to use Angular 1.x for client projects and at work.

Thanks for replying, I was very curious about what an owner of a hugely popular Angular 1.x app would think about this whole thing. So I guess, a migration to Angular 2 is planned for the future, but just not anytime soon.

I think I'll take the same approach and wait until the dust settles down. Until the next technology choice is clear, I will keep taking advantage of the extensive Angular knowledge I've built up over the past few years.

1

u/schizoduckie Aug 29 '15

So I guess, a migration to Angular 2 is planned for the future, but just not anytime soon.

Well, not so much planned as i'm not excluding it. That being said, I have no idea how long DuckieTV will live and what it will look like in 3 years, 5 years, or after that :)

1

u/buildport Aug 29 '15

Oh okay, thanks for the clarification! :)

0

u/martinmicunda Aug 27 '15

Checkout this open source project written in ES6 https://github.com/martinmicunda/employee-scheduling-ui