Skip to content

Enhance developer experience in persistence story #1237

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

Closed
dhmlau opened this issue Apr 9, 2018 · 1 comment
Closed

Enhance developer experience in persistence story #1237

dhmlau opened this issue Apr 9, 2018 · 1 comment
Labels
developer-experience Issues affecting ease of use and overall experience of LB users epic

Comments

@dhmlau
Copy link
Member

dhmlau commented Apr 9, 2018

Description

Comparing the developer experience for LB3 and LB4 regarding steps involved to get REST APIs up and running that connects to database, it looks like there is room for improvement.

Current Behavior

Below is the developer experience in the persistance story

LoopBack 3 LoopBack 4 Issue opened
Scaffold LB app Run lb command Run lb4 command --
Define datasource Run lb datasource command. datasources.json is generated. manually either create a DataSource class or DataSource+datasource.json #1221
Define model Run lb model command. Bind it with datasource Create model.ts manually #1225
Bind model with datasource Done in lb model command Define Repository to bind datasource and model manually
Extra steps none Change Application class to extend from BootMixin(RepositoryMixin(RestApplication))
Run the app npm start npm start --
@dhmlau dhmlau added the developer-experience Issues affecting ease of use and overall experience of LB users label Apr 9, 2018
@dhmlau
Copy link
Member Author

dhmlau commented Jul 16, 2018

Closing as done

@dhmlau dhmlau closed this as completed Jul 16, 2018
@bajtos bajtos added the p1 label Aug 13, 2018
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 epic
Projects
None yet
Development

No branches or pull requests

2 participants