StrongLoop provides a number of example applications that 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.
###Step one - 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
###Step two - relations and filters
Teaches the basics on model relations and basic filtering via REST.
###Step three - adding application logic
Teaches the basics on remote methods, remote hooks, model hooks, boot scripts and middleware.
###Step four - access control
##Topic-specific examples
These examples can be done in any order as they are self-contained and specific to a particular topic.
- loopback-component-push
- 2.0 example available in the
examples
dir, upgrading project in a future update
- 2.0 example available in the
- loopback-component-storage
- 2.0 example available in the
examples
dir, upgrading project in a future update
- 2.0 example available in the
- loopback-example-APIClientApp
- loopback-example-angular
- loopback-example-app
- loopback-example-component - WIP
- loopback-example-full-stack
- loopback-example-passport
- loopback-example-proxy
- loopback-example-recipes - WIP
- loopback-example-ssl
- Creating a LoopBack iOS app: part one
- Creating a LoopBack iOS app: part two
- Push notifications
- Remote connector - WIP
##FAQ examples
Example repositories for frequently-asked questions.
- loopback-faq-build-automation - WIP
- loopback-faq-email
- loopback-faq-middleware
- loopback-faq-model-hooks
- loopback-faq-model-relations - WIP
- loopback-faq-rest-connector
- loopback-faq-user-management
##Community examples
These are community contributed examples. 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-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-mySimpleAPI replaced with loopback-getting-started