Skip to content
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

Docs on creating an lb4 app using bottom-up approach #4697

Closed
7 tasks
achrinza opened this issue Feb 21, 2020 · 4 comments
Closed
7 tasks

Docs on creating an lb4 app using bottom-up approach #4697

achrinza opened this issue Feb 21, 2020 · 4 comments
Labels
developer-experience Issues affecting ease of use and overall experience of LB users Docs feature stale

Comments

@achrinza
Copy link
Member

achrinza commented Feb 21, 2020

Related stale issues: #1512 #1513 #1514 #1515
Similar PR: #4629

The docs do not provide a method to build lb4 apps using a bottom-up approach. This can make it difficult for new users to understand the responsibilities of the different components in lb4.

  • This means users may have to dig through previous GitHub issues, pull requests and blog posts.
  • As a result, the users' ability to leverage the extensibility of lb4 may be hindered.
  • This increases friction in adopting lb4.

Suggestion

Add a "writing from scratch" page for each components in lb4 Some potential candidates from the top of my head are:

  • application
  • controller
  • datasource
  • model
  • repository
  • route
  • service

Use Cases

This can be invaluable for new users who may not be as familiar with the LoopBack 4 design.

Examples

TBD

Acceptance criteria

TBD - will be filled by the team.

@achrinza achrinza added developer-experience Issues affecting ease of use and overall experience of LB users feature Docs labels Feb 21, 2020
@Tronix117
Copy link

Agreed, the doc needs to be improved a lot, there is a lot of room to make clean code, however it's really hard to do it due to lack of documentation. For exemple : https://loopback.io/doc/en/lb4/Services.html does not explain what is a service for, and what are its capabilities. It needs a lot of efforts to understand compared to other framework making it way simpler to start from scratch.

@dhmlau
Copy link
Member

dhmlau commented Feb 26, 2020

@achrinza @Tronix117, thanks for the feedback. I'd +1 for any improvements on the docs. :)

@achrinza, I'm not sure if I understand what you mean by Add a "writing from scratch" page for each components. Would you like to submit a draft PR to continue the discussion? Even a skeleton with some brief description could help.

@Tronix117, for the Services page, it mentions there are 3 types of services. Do you think it lacks of examples of each type? Again, PR is welcomed!

Thanks!

@stale
Copy link

stale bot commented Dec 25, 2020

This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository. This issue will be closed within 30 days of being stale.

@stale stale bot added the stale label Dec 25, 2020
@stale
Copy link

stale bot commented Jul 14, 2021

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

@stale stale bot closed this as completed Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer-experience Issues affecting ease of use and overall experience of LB users Docs feature stale
Projects
None yet
Development

No branches or pull requests

3 participants