Skip to content

Wish list of LoopBack Next extensions #512

Closed

Description

@raymondfeng

A list of potential extensions for LoopBack Next.

Add a 👍 reaction to any of the comments below if you are interested in seeing these features / extensions

Activity

  1. ritch commented on Aug 17, 2017

    @ritch
    Contributor
    1. Actions for REST/HTTP req/res processing
    • CORS
    • Logging
    • Rate Limiting
    • Authorization
    • Express/KOA middleware
  2. ritch commented on Aug 17, 2017

    @ritch
    Contributor
    1. Transports/protocols
    • WebSocket
    • MQTT
    • gRPC (HTTP2 & ProtoBuffer3)
  3. ritch commented on Aug 17, 2017

    @ritch
    Contributor
    1. API styles
  4. ritch commented on Aug 17, 2017

    @ritch
    Contributor
    1. Cloud native integration
    • Docker/compose/k8s/
    • Istio: Metrics/Distributed tracing
    • Bluemix/AWS/Azure
  5. ritch commented on Aug 17, 2017

    @ritch
    Contributor
    1. Built-in models
    • User/Team/Organization
    • Application
    • AccessToken
  6. ritch commented on Aug 17, 2017

    @ritch
    Contributor
    1. Mixins
  7. ritch commented on Aug 17, 2017

    @ritch
    Contributor
    1. Connectors
  8. ritch commented on Aug 17, 2017

    @ritch
    Contributor
    1. CLI commands
  9. ritch commented on Aug 17, 2017

    @ritch
    Contributor
    1. Caching
  10. ritch commented on Aug 17, 2017

    @ritch
    Contributor
    1. Boot
    • OpenAPI Specs
    • Controllers
    • Repositories/Services
    • Components
    • Model definitions
      • JSON schemas
      • OpenAPI specs
      • WSDL/XML Schema
      • GraphQL Schema
      • ...
    • Data sources
    • Connectors
    • gRPC service/message
    • ...
  11. proreact-mj commented on Sep 14, 2017

    @proreact-mj

    A visual builder/app inspector to develop, modify and debug a Loopback4 app.
    ARC, but more functionality
    API Connect Developer Toolkit, but without the IBM account tie-in.
    Node-RED, but for Loopback :)

  12. VMois commented on Oct 19, 2017

    @VMois
  13. jpventura commented on Oct 27, 2017

    @jpventura

    A well defined connector fintech/payment interface whose services such as credit cards, Plaid, PayPal, Android Pay, Apple Pay could be reduced to.

  14. VinayaSathyanarayana commented on Dec 5, 2017

    @VinayaSathyanarayana

    CMS like Keystone.js

  15. kattsushi commented on Dec 6, 2017

    @kattsushi
    • Implementation for Angular Universal and SSR
  16. 41 remaining items

  17. ckoliber commented on Aug 25, 2019

    @ckoliber
    1. Built-in models
    • User/Team/Organization
    • Application
    • AccessToken

    User, Group, Role, Permission models was added on loopback-authorization-extension

  18. consultantcraig commented on Sep 28, 2019

    @consultantcraig

    A visual builder/app inspector to develop, modify and debug a Loopback4 app.
    ARC, but more functionality
    API Connect Developer Toolkit, but without the IBM account tie-in.
    Node-RED, but for Loopback :)

    I'd like to add an idea for some low-hanging but powerful fruit: There's a great visual model builder I'm using called GenMyModel.com (free for solo use). You can export your data model as .xmi file. And I've just convinced one of my clients to let me re-create their back end with lb4. Would be nice if I could feed the .xmi to loopback and it would auto-scaffold everything in one command including lb4 model, controllers, and database. Then I can just go and tweak the routing and functionality as needed. I might build that extension myself if I get time in a few months.

  19. bajtos commented on Sep 30, 2019

    @bajtos
    Member

    I'd like to add an idea for some low-hanging but powerful fruit: There's a great visual model builder I'm using called GenMyModel.com (free for solo use). You can export your data model as .xmi file. And I've just convinced one of my clients to let me re-create their back end with lb4. Would be nice if I could feed the .xmi to loopback and it would auto-scaffold everything in one command including lb4 model, controllers, and database. Then I can just go and tweak the routing and functionality as needed. I might build that extension myself if I get time in a few months.

    Thank you @consultantcraig for posting this idea. Our CLI tool can be invoked in a non-interactive headless mode where answers from prompts are supplied via a JSON file. I think it should be possible to build a tool you have described using this feature.

    I can also imagine adding a new command to the CLI that will accept a single JSON file with a list of commands & their arguments to run. With such command in place, your .xmi converter can be simple - just convert .xmi into JSON input expected by LB4 CLI.

    Having said that, I don't think we will have bandwidth to make these CLI improvements ourselves in the near future. However, we are happy to help you along the way if you decide to contribute it yourself.

  20. ddsultan commented on Oct 10, 2019

    @ddsultan
    Contributor

    Schematics support with the CLI like in Angular CLI

  21. ghguy commented on Oct 13, 2019

    @ghguy

    SLC ARC with visual builder like version 3. Not command line based like apic discover.

  22. ibmjm commented on Nov 6, 2019

    @ibmjm
    Contributor

    Left and Inner Joins on queries. Perhaps just use GraphQL with something like Join Monster to generate smart SQL behind the scenes.

    I'd also like a simple solution to modelling a database table which doesn't have a typical primary key (e.g. a column named id). I often have to build applications that read data from an IW that was designed more for management reports, where the tables use "real data" columns for their primary key. A simple example could be an order view/table where the order number is the primary key, or a product table where the part number (or SKU) is the PK. Or a list of employees where w3 ID is the PK. It's a common scenario when an application needs to interface to a database that's owned by a third-party.

    Similarly, there are times when I want to include data within one LB4 model that is sourced from more than one table in the database layer. Sample use case: an Inventory model, where I would like to include the product description from the Product table along with the inventory data.

  23. kchraniuk commented on Nov 13, 2019

    @kchraniuk

    Better documentation with more useful examples about WebSocket e.g:
    #4044

  24. unpinned this issue on Mar 3, 2020
  25. pinned this issue on Mar 3, 2020
  26. aaamitsingh commented on Aug 26, 2020

    @aaamitsingh

    Messaging connectors and bridge:
    strong-pubsub
    strong-pubsub-bridge
    strong-pubsub-connection-mqtt

  27. unpinned this issue on Sep 29, 2020
  28. Code-Crash commented on Oct 31, 2020

    @Code-Crash
    • AWS Services Extensions like:
    1. S3 bucket datasource to handle file object related operations.
    2. Elastic Search datasource extension.
    3. Lambda functions supports extensions (development/deployment using loopback extensions)
  29. samarpanB commented on Feb 11, 2021

    @samarpanB
    Contributor

    Merging #509 into this issue so that we have all extension wish list in one place

    Cross posting #509 (comment) from @MartinCerny-awin .

    20 in the original post

    Audit Log

    Log changes performed on models. It would help to keep track of who used, created or changed an entity and the point in time this happened.

    The same model that is being audited would be created with added properties mentioned in what should be stored section. This model will get updated when audit action happens.

    When should audit happen (taken from #2872)

    1. We give users the option which RESTfull endpoint (or which model) they want to have the audit middleware active for. Or introducing exceptions option which makes the middleware active for all endpoints except the ones mentioned in exceptions
    2. We give them option which req.methods they want to have this middleware active for... I think it does not make sense to have this middleware active for req.method == 'GET' since this middleware would become a bottleneck of the application and you would not get that useful information either.

    What should be stored

    • Model properites
    • Created timestamp
    • Modified timestamp
    • HTTP method
    • Path
    • User Id

    We created this extension few months back. I hope it caters to the list of requirements. If not, please feel free to raise a feature request. We'll try to add that soon. https://www.npmjs.com/package/@sourceloop/audit-log

  30. locked and limited conversation to collaborators on Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions