Earlier today I gave a presentation on LoopBack and StrongLoop. I've embedded the recording below:
I'm not including a link to the slides/demos because they were extremely simple, and you can see the slides in the presentation itself, but obviously if you want it, just ask. During the presentation, there were a few questions that came up that I wanted to address in the blog post.
- What are the minimum requirements to install LoopBack/StrongLoop?
I'd check the Installing StrongLoop documentation for that. Also the specific doc for Windows and OSX.
In terms of the supported version of Node, both docs say this: "For best results, use the latest LTS (long-term support) release of Node.js."
- How do you upgrade from earlier versions of LoopBack?
Check the docs: Updating to the latest version
- Debugging - basically - how?
See my blog entry here: A quick look at debugging Node.js with StrongLoop and Visual Studio Code
- Relationships - basically - how?
Start with the docs here: Creating model relations. As I mentioned in the presentation, I'm working on a blog post about the topic, but you can find some sample code for it here: https://github.com/cfjedimaster/StrongLoopDemos/tree/master/ormdemo
- Updates for Angular 2
I was asked if the AngularJS SDK would be updated for Angular 2. Right now - there are no official plans for an update. As I said multiple times in the presentation, you can absolutely use Angular 2, Ionic, jQuery Mobile, Vanilla JS, etc, with LoopBack with no problem at all. This SDK is just an optional utility for working with LoopBack and Angular.
That's it - I hope you enjoy the presentation and let me know what you think in the comments below.
Archived Comments
How about nested APIs in Loopback? Ex: I use year as a root for many models. /2016/foobars
Have you played with ActiveDirectory integration with Loopback? Specifically, I'll then need to use EmployeeID from AD.
Are you talking about versioning? Or a way to say, "I have foobars, but I want foobars only from year X"?
Humm... I think "I have foobars, but I want foobars only from year X". Basically everything (except for Years themselves) are attached to a Year.
My front-end apps let users select a Year, which will change the Year requested during API calls.
So filtering by year should be possible (should). Out of the box, you get a full featured filtering language. My only concern here is that I'm not sure about the date part. So given that you are probably using full dates, I'd have to check to see how you would filter by JUST the year.
Of course, the URL would not be pretty. You would need to set up /YYYY/X in Express yourself.
You could do /api/X/YYYY such that you have a handler to catch dynamic routes. That *should* be possible too.
There is a Year property on each model, so actual filtering should be easy. I'm not going by a "created date" or anything, just a 4 digit year.
ah, then definitely easy :) just check the docs.
How can we generate and run angularjs2 with loopback
LoopBack is about creating APIs - it isn't about creating client-side code. While you can easily use Angular with LoopBack, the LoopBack tool itself doesn't create Angular code for you.