generator-ngx-rocket
generator-ngx-rocket copied to clipboard
Integrate ngX-Rocket as a JHipster module for a fullstack experience
I had the occasion to talk with the creator of JHipster recently, and it seemed a good idea to integrate ngX-Rocket as a JHipster module: we would generate the frontend, and JHipster would take care of the backend, it's a win-win 😎
The integration should not be that difficult at first view:
- The complete JHipster frontend would be replaced by ngX-Rocket (it's already supported)
- They use Yeoman composition, like our addon system so basic integration should be straightforward.
- The integration does not need to be feature complete: by the own words of its creator, some JHipster generations tools are overkill, like the entity part for the frontend. We should just concentrate on the basic: integrate with the build, use their rest API and plug-in authentication.
I propose that we advance on this by steps:
- [ ] Step 1 - POC: Make the minimum changes to make ngX-Rocket a valid JHipster module that replace their frontend, that works with their build system, in a separate branch.
- [ ] Step 2 - API integration: Make the minimum integration work to plugin with their backend APIs (home rest service example and authentication). At this point a first release as a JHipster module could be proposed.
- [ ] Step 3 - Polish integration: Add missing templates (#186) and integrate signup/reset password methods from authentication service with their backend
Any comments/help on this welcome!
Is back-end integration still part of the scope of the project? I feel like we barely keep up with changes on the web side already (and by "we", I really mean you @sinedied and @captaincaius 😸). Maybe we should accept that this is not the core of the project.
Of course maybe @ludovicderochethales has something waiting on his shelves, let us know in that case.
I guess this comment also applies to #26 and #156.
Is back-end integration still part of the scope of the project?
It is definitely, and will be part of my focus with my upcoming next position 😉 I've already tested the fullstack integration as part of an internal company generator based on ngx, and so far it's working well ^^ In the next months I plan to prototype simple backend integrations for C#, Java (not using JHipster) and Node.js, as well as using pre-made docker images for hosting only deployments, we will see how it goes! The tricky part as always will be to document all of these 💪