Let's Build a Band App with LoopBack: Connecting to Cloudant (part 5 of many)

by Joe Sepi - Aug 17, 2017

In this series, we are working through building an application to support the needs of DIY bands. We’ll start out solving some basic problems and move into more complex ground, eventually transforming the application into a platform that others can use and build upon.

Accompanying this series is a corresponding workshop as well as a code repository.

🖥 To see the code for this step, here is commit/diff in the code repository. This will show you the changes from the last episode to this one.

Previously on Let’s build a band app!

In the previous episode, we deployed our application to the cloud – in our case, IBM’s Bluemix Paas. We can now access it from any connected device. If we want to start bragging to our friends, the app is now available beyond your local machine; its in the clouds! :)

In this episode

In this episode, we are going to instantiate a database and connect it to our application, allowing us to persist our data. For this exercise, we will be using Cloudant, a NoSQL database platform based off of the open-source CouchDB. Cloudant is highly performant and scalable; and it is great for offline-first applications, which we will explore in a later episode. However, you can connect any data-source in a very similar way; whether it is MongoDB or MySQL, LoopBack normalizes access to your data regardless of your platform.

More...


Let's Build a Band App with LoopBack: Deploying Our Application (part 4 of many)

by Joe Sepi - Aug 10, 2017

In this series, we are working through building an application to support the needs of DIY bands. We’ll start out solving some basic problems and move into more complex ground, eventually transforming the application into a platform that others can use and build upon.

Accompanying this series is a corresponding workshop as well as a code repository.

🖥 To see the code for this step, here is commit/diff in the code repository. This will show you the changes from the last episode to this one.

Previously on Let’s build a band app!

In the previous episode, we got to know the Swagger explorer that comes for free with LoopBack. It is an interface that allows us to see and interact with our APIs. We are able to make requests through the UI and see how our API endpoints respond. Now that we have seen our API in action, let’s deploy it so that we can begin to interact with it over the web rather than just within our local development environment.

In this episode

In this episode, we will deploy our application to the cloud. A LoopBack app is simply a Node.js app. For our purposes, we will deploy our code to Bluemix, IBM’s PaaS (platform as a service), but we could deploy it wherever Node.js is supported. Wherever we decide to deploy our Node application, we need to make sure the tools were in place to keep our app running and able to handle any sort of load it may need to withstand. Fortunately, Bluemix handles all of that for us. And we can use their Cloud Foundry tools to configure and manage the deployment.

More...


The OpenAPI Spec and You (and IBM)

by Erin McKean - Aug 8, 2017

If you work with APIs at all, either creating or consuming them, you’ve probably heard of something called the OpenAPI Specification (or its former name, Swagger). However, you may be fuzzy on the details. Don’t worry! By the end of this post you won’t be.

What is this OpenAPI thing, anyway?

The OpenAPI Specification (OAS) is a way to describe your API so that all its resources and operations can be read by both humans and machines.

More...


Node Summit & AngelHack - A Brisk Week in Silicon Valley

by Sai Vennam - Aug 3, 2017

Coffee shops, Patagonia jackets and Teslas on every corner - just a few of the things I was greeted with when I landed in San Francisco International Airport last Tuesday. It was going to be a great week; with Node Summit 2017 kicking off my week and finishing up with one of the largest hackathons organized, AngelHack. Join me as I share with you my experiences at these two amazing events!

Node Summit 2017

As someone who loves Node.js, Node Summit to me is the equivalent of Disney World to a 7-year-old. Here’s some of the highlights from Node Summit 2017.

Kickoff with a short IBM Announcement

One of the first things I did at Node Summit was a short keynote welcoming everyone to Node Summit and talking a bit about what IBM is doing with Node.js. It was the perfect audience to announce the LoopBack Next framework (learn more). I’m assuming it was well-received because I had a number of people coming by the IBM booth shortly after to talk to me about what we’re doing with LoopBack!

More...


Introducing Sai Vennam - StrongLoop Developer Evangelist

by Sai Vennam - Jul 27, 2017

Editor’s Note: We’re pleased to introduce you to the latest member of IBM’s StrongLoop Developer Evangelist team, Sai vennam. Our evangelists are quite busy attending events, hosting webinars, and putting together content about LoopBack and IBM’s API Connect. We have already introduced you to Raymond Camden, Joe Sepi, Erin McKean and David Okun.

Hi everyone! I’m the newest member on the StrongLoop Developer Evangelist team. I’ve been with IBM for 4 years as of last week. Fun fact - this actually makes me the most senior IBMer on my team while also being the youngest (25 last month). Although I was a software engineer before joining this team, it didn’t stop me from advocating and creating content for the products I worked on at IBM. the only difference is now I get paid to do it!

Sai talking about Bluemix

More...