Giter Site home page Giter Site logo

dbryand / loopback-workspace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from strongloop/loopback-workspace

0.0 1.0 0.0 624 KB

Manage a directory of Loopback Projects for a user, team, or organization

Home Page: www.strongloop.com

License: Other

loopback-workspace's Introduction

Loopback Workspace

Each Workspace manages a directory of Loopback Projects for a user, team, or organization. Workspace can be used either programmatically, or through a built-in REST interface.

Running the REST server

After cloning the Workspace repository, run the following:

node workspace --root `~/my-loopback-workspace`

Of course, this example assumes the repo is cloned at ./workspace, and that the desired root directory for projects is ~/my-loopback-workspace. Please make any appropriate changes for your own use.

Using Workspaces programmatically

TODO

Extending the Workspace

New factories can be added to Workspace through the factories directory of. When a new Module is added to a Project, the type parameter of the body is used to determine which factory to load, by name. For example, if there's a factory named app installed, a new Module from the following body would use that factory:

{
  "name": "MyModule",
  "type": "app",
  "port": 5050
}

Each factory consists of a legal Node module that exports a Function. That Function should extend the Factory interface that Workspace provides, extending render() and dependencies() as necessary. (Otherwise, that would be a very body Factory, indeed.)

loopback-workspace's People

Contributors

ritch avatar schoonology avatar dallonf avatar bajtos avatar raymondfeng avatar sam-github avatar cgole avatar rmg avatar arlaneenalra avatar

Watchers

Dave Bryand avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.