{"id":13839502,"url":"https://github.com/strongloop/loopback-workspace","last_synced_at":"2025-05-02T10:31:24.592Z","repository":{"id":8114686,"uuid":"9530789","full_name":"strongloop/loopback-workspace","owner":"strongloop","description":"Manage a directory of LoopBack projects for a user, team, or organization","archived":false,"fork":false,"pushed_at":"2020-11-30T20:22:55.000Z","size":1732,"stargazers_count":49,"open_issues_count":0,"forks_count":39,"subscribers_count":46,"default_branch":"master","last_synced_at":"2024-04-09T16:18:15.957Z","etag":null,"topics":["hacktoberfest","loopback","workspace"],"latest_commit_sha":null,"homepage":"http://loopback.io","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":"2013-04-18T20:12:34.000Z","updated_at":"2024-04-09T16:18:15.958Z","dependencies_parsed_at":"2022-09-14T13:22:34.138Z","dependency_job_id":null,"html_url":"https://github.com/strongloop/loopback-workspace","commit_stats":null,"previous_names":[],"tags_count":117,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-workspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-workspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-workspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongloop%2Floopback-workspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strongloop","download_url":"https://codeload.github.com/strongloop/loopback-workspace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252023271,"owners_count":21682154,"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":["hacktoberfest","loopback","workspace"],"created_at":"2024-08-04T17:00:28.327Z","updated_at":"2025-05-02T10:31:24.297Z","avatar_url":"https://github.com/strongloop.png","language":"JavaScript","readme":"# LoopBack Workspace 3.0\n\n**⚠️ LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical\nsecurity fixes will be provided. (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\nThe `loopback-workspace` module provides node.js and REST APIs for interacting\nwith a set of loopback components. Components are organized in the following\nbasic directory structure:\n\n```txt\n  /my-workspace\n    /my-component-a\n    /my-component-b\n    /my-component-c\n    package.json\n```\n\nEach component has the following basic structure:\n\n```txt\n  /my-component\n    config.json\n    datasources.json\n    model-config.json\n    /models\n      my-model.json\n      my-model.js\n```\n\n## Usage\n\n**Basic**\n\nThe `loopback-workspace` itself is a loopback component. The following\nwill load the workspace in the current working directory (`process.cwd()`).\n\n```js\n// workspace is a loopback `app` object\nvar workspace = require('loopback-workspace');\n```\n\n**Custom Workspace Directory**\n\nTo start the workspace in a specific directory, specify the `WORKSPACE_DIR` env\nvariable.\n\n**REST**\n\nIn order to use the REST api, mount the app on an existing express app or call\n`workspace.listen(PORT)`.\n\n## Test\n\n**To run end-to-end tests, you will need a local MySQL instance.**\n\nRun `node test/helpers/setup-mysql.js` to create a test database and\na test user. This is a one-time task to run only once when setting up your\ndevelopment environment.\n\nUse the `npm test` command to run the tests.\n\n## Module Long Term Support Policy\n\nThis module adopts the [Module Long Term Support (LTS)](http://github.com/CloudNativeJS/ModuleLTS) policy, with the following End Of Life (EOL) dates:\n\n| Version | Status          | Published | EOL      |\n| ------- | --------------- | --------- | -------- |\n| 4.x     | Maintenance LTS | Sep 2017  | Dec 2020 |\n| 3.x     | End-of-Life     | Jul 2014  | Apr 2019 |\n\nLearn more about our LTS plan in the [docs](https://loopback.io/doc/en/contrib/Long-term-support.html).\n","funding_links":[],"categories":["Tools"],"sub_categories":["Third Party"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongloop%2Floopback-workspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrongloop%2Floopback-workspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongloop%2Floopback-workspace/lists"}