These example applications illustrate various key LoopBack features. In some cases, they have accompanying step-by-step instructions (tutorials). The applications fall into several categories:
- Getting started
- Tutorial series
- Topic-specific examples
- FAQ examples
- Community examples
- Deprecated examples
##Getting started
Start here!
Read Getting started with LoopBack to create loopback-getting-started.
"Getting started (intermediate)" is a work in progress: loopback-getting-started-intermediate.
##Tutorial series
Each repository contains a complete application, along with step-by-step instructions to recreate it in the README.
Complete these in the order listed below. When a step contains multiple repositories, you need only follow
one of them before going to the next step; you don't have to finish all of them. For example, follow loopback-example-mysql
in step one, then go to step two.
###The basics
Teaches the basics on models, connectors, datasources, automigration and discovery.
- loopback-example-mongodb
- loopback-example-mssql
- loopback-example-mysql
- loopback-example-postgresql
- loopback-example-oracle
###Relations and filters
Teaches the basics of model relations and basic filtering via REST.
###Adding application logic
Teaches the basics of remote methods, remote hooks, model hooks, boot scripts, and middleware.
###Access control
##Topic-specific examples
You can follow these examples in any order since they are self-contained and specific to a particular topic.
WIP | Name | Description |
---|---|---|
loopback-component-push | LoopBack 2.x examples available in the examples dir |
|
loopback-component-storage | LoopBack 2.0 examples available in the examples dir |
|
loopback-example-APIClientApp | ||
loopback-example-angular | A simple todo list using AngularJS on the client side and LoopBack on the server side. | |
loopback-example-app | A full stack LoopBack application (iCars) | |
loopback-example-boot-scripts | How to use the LoopBack boot script generator | |
loopback-example-component | ||
loopback-example-pubsub | ||
loopback-example-offline-sync | Offline sync with Loopback | |
loopback-example-passport | PassportJS with Loopback | |
โ | loopback-example-recipes | |
โ | loopback-example-remote | How to use the LoopBack remote connector |
loopback-example-ssl | SSL with LoopBack |
Examples on docs.strongloop.com:
##FAQ examples
Example repositories for frequently-asked questions.
- loopback-faq-email
- loopback-faq-middleware
- loopback-faq-model-hooks
- loopback-faq-rest-connector
- loopback-faq-user-management
- loopback-faq-model-relations - WIP
- loopback-faq-build-automation - WIP
##Community examples
These are examples contributed by the LoopBack community. Let us know if you have an example to contribute and we'll send you some swag in return for your efforts!
##Deprecated examples
###LoopBack 1.x examples
These examples have not been updated for LoopBack 2.x.
These are either outdated or replaced with better examples.
- loopback-example-angular-starter replaced with loopback-example-angular
- loopback-example-coffee-shop replaced with loopback-getting-started-intermediate
- loopback-example-customAPI replaced with loopback-getting-started
- loopback-example-full-stack renamed to loobpack-example-offline-sync
- loopback-example-datasourceAPI replaced with loopback-getting-started
- loopback-example-database replaced with 5 separate repos:
- loopback-example-extendedAPI replaced with loopback-getting-started
- loopback-example-relations-basic replaced with loopback-example-model-relations
- loopback-example-model-relations replaced with loopback-example-relations
- loopback-example-mySimpleAPI replaced with loopback-getting-started