Advertisement
  1. Code
  2. JavaScript

How to Create a Data Model for a REST API With LoopBack

Scroll to top
Read Time: 1 min

Writing a RESTful API for Node and Express is time consuming. You have to design and code each model, with security, parameters, REST endpoints, and even the HTTP status codes. LoopBack, however, takes the pain out of creating an API and can dramatically reduce your development time.

In this short video tutorial from my course Generate REST APIs With LoopBack, you'll learn how to create a simple data model using slc—the StrongLoop command-line interface.

StrongLoop API ExplorerStrongLoop API ExplorerStrongLoop API Explorer

Watch the Full Course

The full course, Generate REST APIs With LoopBack, will show you how to get started using LoopBack to speed up back-end development. Together we'll create a simple REST API for application data. Along the way, you'll see how to create relational connections between models, how to secure the API with access control, and how to define endpoints with custom application logic.

Advertisement
Did you find this post useful?
Want a weekly email summary?
Subscribe below and we’ll send you a weekly email summary of all new Code tutorials. Never miss out on learning about the next big thing.
Advertisement
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.