-
Notifications
You must be signed in to change notification settings - Fork 17
Migration to NestJS #459
Comments
@henrikjohansson712 and @nitrosx (myself) agreed that a migration to a Loopback4 requires a considerable code refactoring. We decided to explore implementing datasets endpoint in express.js and nest.js. This experience allowed us to conclude the following:
We therefore decided to explore nest.js so we could leverage higher level functionalities already present in the framework. |
WE continued our exploration of nest.js and implemented a proof-of-concept of the full Datasets endpoint without changing the underline database. Implementation of scicat-nestjs is available in nestjs branch |
We just successfully tested the scicat migration middleware (S2M for short).
Tested performed:
|
Congratulations ! Looks like a promising approach . |
We are now working to have a functional nestjs endpoint for datasets with authentication and authorization. |
I can volunteer to migrate the job endpoint. |
Summary key items for migration to Loopback 4:
Valid reasons to change framework:
Notes
There are many frameworks out there, as illustrated by this post:
In one of the posts that I came across, I read about nestjs and next.js, which apparently have wider user base.
I checked nestjs web page, I could not find any info on End-Of-Life and support. I did find their documentation a little easier to read and follow (here is the authentication documentation: )
I also find this post where they compare nestjs with other frameworks, but not with loopback.
This post provide a little info on differences between LB3, LB4 and nestjs:
The text was updated successfully, but these errors were encountered: