-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An extension starter project #525
Comments
Hi @bajtos, had a few questions I'm hoping you can clarify.
|
Good questions!
Controller contains logic for handling HTTP routes. Models are just an implementation detail that can be used by a controller. Few examples of what kind of controllers can be contributed:
We need to use what we have now, which means legacy juggler bridge. I am thinking about the following usage:
|
Talked with @virkt25, this task is done. |
Create
loopback-next-hello-extension
(or similar name), a github project that people cangit clone
and start developing a new extension.Ideally, the sample project should have placeholders/templates for all kinds of things that an extension can contribute:
application
methods and configurationThe idea is that as a new extension developer, I can fill in my implementation in the placeholders, remove placeholders for things I don't need, and have the extension ready in no time.
IMO, the project should be using
TypeScript
, have all necessary npm scripts already configured (build, test, etc.) and ideally include a reasonable test suite too.See #218
The text was updated successfully, but these errors were encountered: