-
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
Demo scenario: User Profile Component #1480
Comments
I have added more content to the issue description and removed questions/discussion points.
|
There are couple of questions that have arisen during the estimation meeting.
|
From my understanding of what @raymondfeng and @bajtos trying to achieve in this demo scenario is to create a single LB application that exposes various endpoints. See comments from @bajtos in here.
there won't be "Component" (in LB terminology), and no standalone module. User model and User controller will be part of the LB application.
To get us started, there will be no authentication/authorization. We haven't flushed out the authentication/authorization story yet.
Same comment as #1. |
A Component isn't the same as a microservice, we should probably call (User, Cart)Components something else to avoid the confusion with LB4 concept of a Component. That said, I think it would be neat to demonstrate that if possible in our examples -- but something we can refactor |
Sorry for the confusion. In general, we need to keep these demo stories as simple as possible and only with the scope of what's possible in 4.0 GA.
As others already commented, we are not going to build any components (loopback extensions). "User component" means "the part of the demo app that provides User-related REST API"
Both authentication and authorization are out of scope of 4.0 GA.
Component extensibility is out of scope of 4.0 GA. |
Thanks for the clarification on the task @bajtos |
On Travis it might be easier to use CouchDB / MongoDB (more popular if not looking at cloud deployment). |
Description / Steps to reproduce / Feature proposal
As part of the e-commerce store demo scenario in #1476, this task is to create the user profile component. User profile data is persisted in a database.
Acceptance Criteria
lb4 app
and configure Travis CI builds. This should be a standalone pull request to make review easier.id
(the primary key, required)email
(required)password
(required, stored as a value hashed viabcrypt
),firstname
(optional)surname
(optional)The implementation should include a test suite following the best practices outlined in https://loopback.io/doc/en/lb4/Testing-your-application.html.
Out of scope
The text was updated successfully, but these errors were encountered: