{"id":13433063,"url":"https://github.com/strongloop/loopback-boot","last_synced_at":"2025-04-05T20:06:18.462Z","repository":{"id":17329803,"uuid":"20100867","full_name":"strongloop/loopback-boot","owner":"strongloop","description":"Convention-based bootstrapper for LoopBack applications","archived":false,"fork":false,"pushed_at":"2021-02-09T15:48:14.000Z","size":845,"stargazers_count":62,"open_issues_count":0,"forks_count":71,"subscribers_count":28,"default_branch":"master","last_synced_at":"2024-11-21T09:24:12.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strongloop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2014-05-23T13:41:51.000Z","updated_at":"2023-10-14T04:56:25.000Z","dependencies_parsed_at":"2022-09-26T21:21:41.606Z","dependency_job_id":null,"html_url":"https://github.com/strongloop/loopback-boot","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strongloop","download_url":"https://codeload.github.com/strongloop/loopback-boot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393569,"owners_count":20931812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T02:01:20.494Z","updated_at":"2025-04-05T20:06:18.424Z","avatar_url":"https://github.com/strongloop.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# LoopBack Boot\n\n**⚠️ LoopBack 3 has reached end of life. We are no longer accepting pull requests or providing \nsupport for community users. The only exception is fixes for critical bugs and security \nvulnerabilities provided as part of support for IBM API Connect customers. (See\n[Module Long Term Support Policy](#module-long-term-support-policy) below.)**\n\nWe urge all LoopBack 3 users to migrate their applications to LoopBack 4 as\nsoon as possible. Refer to our\n[Migration Guide](https://loopback.io/doc/en/lb4/migration-overview.html)\nfor more information on how to upgrade.\n\n## Overview\n\nA convention-based bootstrapper for LoopBack applications.\n\nFor full documentation, see the official StrongLoop documentation: [Defining boot scripts](https://loopback.io/doc/en/lb2/Defining-boot-scripts) and [Creating a LoopBack application](https://loopback.io/doc/en/lb2/Creating-an-application).\n\nThe loopback-boot module initializes (bootstraps) a LoopBack application.  Specifically, it:\n - Configures data-sources.\n - Defines custom models\n - Configures models and attaches models to data-sources.\n - Configures application settings\n - Runs additional boot scripts, so you can put custom setup code in multiple small files instead of in the main application file.\n\nFor more information, see [Defining boot scripts](https://loopback.io/doc/en/lb2/Defining-boot-scripts).\n\n### Version notes\n\nThe version range `1.x` is backwards compatible with `app.boot` provided\nby LoopBack 1.x versions and the project layout scaffolded by `slc lb project`\nup to slc version 2.5.\n\nThe version range `2.x` supports the new project layout as scaffolded by\n`yo loopback`.\n\nThis document describes the configuration conventions of the `2.x` versions.\n\n## Installation\n\n    npm install loopback-boot\n\n## Usage\n\n```js\nvar loopback = require('loopback');\nvar boot = require('loopback-boot');\n\nvar app = loopback();\nboot(app, __dirname);\n\napp.use(loopback.rest());\napp.listen();\n```\n\nSee [API docs](http://apidocs.strongloop.com/loopback-boot/) for\ncomplete API reference.\n\n## Module Long Term Support Policy\n\nThis module adopts the [\nModule Long Term Support (LTS)](http://github.com/CloudNativeJS/ModuleLTS) policy,\nwith the following End Of Life (EOL) dates:\n\n| Version | Status          | Published | EOL      |\n| ------- | --------------- | --------- | -------- |\n| 3.x     | End-of-Life     | May 2017  | Dec 2020 |\n| 2.x     | End-of-Life     | Jul 2014  | Apr 2019 |\n\nLearn more about our LTS plan in [docs](https://loopback.io/doc/en/contrib/Long-term-support.html).\n\n## License\n\nThis module is provided under dual MIT/StrongLoop license.  See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongloop%2Floopback-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrongloop%2Floopback-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongloop%2Floopback-boot/lists"}