How to Create a Data Model for a REST API With LoopBack
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.
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.
Original Link:
TutsPlus - Code
Tuts+ is a site aimed at web developers and designers offering tutorials and articles on technologies, skills and techniques to improve how you design and build websites.More About this Source Visit TutsPlus - Code