Skip to main content

· 9 min read
Wen Bo

Originally published on strongloop.com

Part 5: Deploying our Application to Kubernetes on IBM Cloud

In This Episode

Now that our project has basic features that allow us to create our own characters and log in, it's time to deploy it to cloud! So, we will first run our project in Docker and then push it to Kubernetes cluster on IBM Cloud.

Docker images are lightweight, portable, and self-sufficient. Once you create a Docker image, you can run it almost everywhere. On the other hand, Kubernetes will handle those high level concepts such as storage, network and scale-up.

You can check here for the code from this episode.

· 5 min read
Diana Lau

Originally published on strongloop.com

For the past few months, we have been focusing on the following stories:

We have a monthly blog reviewing what we've done in each milestone. To stay tuned, don't forget to follow us on Twitter @StrongLoop.

· 8 min read
Nora Abdelgadir

Originally published on strongloop.com

As the temperature gets warmer the LoopBack team is spending this summer releasing hot deliverables. In June we focused on various enhancements such as releasing version 2.0.0 of @loopback/build, replacing strong-docs, and improving @loopback/testlab. We also focused on authentication, inclusion of related models, and other improvements. You can see the June milestone for an overview of what we have worked on, and read on for more details.

· 2 min read
Dominique Emond

Originally published on strongloop.com

We've refactored the authentication component to be more extensible and easier to use.

Now you can secure your endpoints with both passport-based and LoopBack native authentication strategies that implement the interface AuthenticationStrategy.

The new design greatly simplifies the effort of application developers and extension developers since they now only need to focus on binding strategies to the application without having to understand/modify the strategy resolver or the action provider.

· 16 min read
Wen Bo

Originally published on strongloop.com

Part 4: User Authentication and Role-Based Access Control

In This Episode

We already have some APIs that allow users to customize their characters. However, a user should not get access to characters that belong to other users. With that in mind, we will add user authentication and role-based access control to this project.

You can check here for this episode's code.

· 2 min read
Nora Abdelgadir

Originally published on strongloop.com

Following the announcement of LoopBack 4 GA in October, LoopBack 3 entered Active Long Term Support (LTS). In March, we announced that LoopBack 3 will receive extended LTS until December 2019. We made this choice to provide LoopBack 3 users more time to move to LoopBack 4 and for us to improve the migration experience. In order to incrementally migrate from LoopBack 3 to LoopBack 4, we have since introduced a way to mount your LoopBack 3 applications in a LoopBack 4 project.

· 10 min read
Biniam Admikew

Originally published on strongloop.com

As the weather starts to warm up for summer, the LoopBack team has turned up the heat on the milestone tasks we planned for the month of May and beyond. We worked on areas such as:

  • Improving our documentation pages and API documentation.
  • Giving users unified website experience on loopback.io.
  • Making CI green across connector repositories and being able to test juggler 3.x and 4.x with connectors.
  • Implementation of Interceptors in the LoopBack framework.
  • Authentication extension point, refactoring authentication action, and using the new features in shopping example repository.
  • Inclusion of related models in model relations.
  • Testing out ways to roll out experimental features.

These are just the tip of the iceberg. Read on to find out more on what the LoopBack team accomplished this month.

· 8 min read
Wen Bo

Originally published on strongloop.com

Part 3: Customizing APIs in Controller

Introduction

In this series, I’m going to help you learn LoopBack 4 and how to use it to easily build your own API and web project. We’ll create a new project I’ve been working on: an online web text-based adventure game. In this game, you can create your own account to build characters, fight monsters and find treasures. You will be able to control your character to take a variety of actions: attacking enemies, casting spells, and getting loot. This game also allows multiple players to log in and play with their friends.

Previously on Building an Online Game With LoopBack 4

In the last episode, we used a third-party library to generate UUID and built relations between character, weapon, armor, and skill.

Here are the previous episodes:

· 9 min read
Wen Bo

Originally published on strongloop.com

Part 2: Generating Universally Unique ID and Managing Models Relationships

Introduction

In this series, I’m going to help you learn LoopBack 4 and how to use it to easily build your own API and web project. We’ll create a new project I’ve been working on: an online web text-based adventure game. In this game, you can create your own account to build characters, fight monsters and find treasures. You will be able to control your character to take a variety of actions: attacking enemies, casting spells, and getting loot. This game also allows multiple players to log in and play with their friends.

Previously on Building an Online Game With LoopBack 4

In the previous episode, we created a foundation for our project. Now we have some basic APIs to create, edit, and delete a character.

Here is the previous episode:

· 9 min read
Dominique Emond

Originally published on strongloop.com

April was a very productive month for the LoopBack team! We focused on the following areas:

  • Strong referential integrity for relations
  • Model discovery
  • Basic Life Cycle Support
  • Adding more architectural patterns to support extensions
  • Authentication
  • Node 12 is now officially supported by LoopBack 4
  • Exposing LoopBack 3 applications in LoopBack 4 projects

Besides the items above, we landed several additional improvements. Keep reading to learn more details.