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

Tutorial on how to build a LB4 app using plain JavaScript #1970

Closed
2 tasks
dhmlau opened this issue Nov 2, 2018 · 5 comments
Closed
2 tasks

Tutorial on how to build a LB4 app using plain JavaScript #1970

dhmlau opened this issue Nov 2, 2018 · 5 comments

Comments

@dhmlau
Copy link
Member

dhmlau commented Nov 2, 2018

Description / Steps to reproduce / Feature proposal

The recommended way to build LoopBack 4 applications is to use TypeScript. Given that there are a lot more JavaScript developers out there than the TypeScript counterpart, we should look into how to build a LB4 app using plain JavaScript.

  • is it possible? If so, document it and create a tutorial
    • e.g. JavaScript does not have a notion of decorators. How can someone achieve the same thing with JavaScript, if possible?
  • How much is it easier to use TypeScript than to use JavaScript?

cc @raymondfeng @bajtos

Acceptance Criteria

  • Tutorial in docs (maybe under howto section) on how to create a LB4 app using JavaScript
  • Blog post - cover some of the points in the spike finding. Some suggestions:
    • what we can possibly do in the future to make this user experience better, if any
    • what are the pain points of using JS or what can't be done in JS, and guide users that the best way to do it is through TypeScript.
@bajtos
Copy link
Member

bajtos commented Nov 23, 2018

@dhmlau is this story a part of or a duplicate of the epic Plain JavaScript experience #560?

@dhmlau
Copy link
Member Author

dhmlau commented Dec 13, 2018

@bajtos , sorry about the late reply. I'm thinking this story is part of the Plain JavaScript experience epic. After the spike #1978 , we should create a tutorial (i.e. this story) to show users how to build LB4 using JS.

@bajtos
Copy link
Member

bajtos commented Dec 13, 2018

I'm thinking this story is part of the Plain JavaScript experience epic. After the spike #1978 , we should create a tutorial (i.e. this story) to show users how to build LB4 using JS.

Sounds good, thank you for clarification.

@stale
Copy link

stale bot commented Apr 1, 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 Apr 1, 2020
@stale
Copy link

stale bot commented May 1, 2020

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 May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants