rest icon indicating copy to clipboard operation
rest copied to clipboard

typescript feature

Open JeffGreat opened this issue 4 years ago • 7 comments

Hi, is there a typescript version of the repo. I'm using this boilerplate since years and I'm very satisfied with it. Now the project might need some refresh to include new features that can be brought with typescript and other libs. Does anybody intersting by improving this repo ? Thx and special thx to Diego :)

JeffGreat avatar Mar 19 '20 17:03 JeffGreat

I am interested to migrate this project in typescript, I am exploring this repo. What's your thoughts?

fuadnafiz98 avatar Oct 01 '20 01:10 fuadnafiz98

Actually I would like to get a better insight of alternative of this repo. Does it worth to migrate to TS ? Lastly we've implemented Nestjs for one project. Looks interested even if it's quite heavy as a framework can be. Another thought, is express still valuable for this kind of rest api task ?

JeffGreat avatar Oct 05 '20 15:10 JeffGreat

yah, I learned Nest.js and it is in fact quite heavy, but it is production-ready and scalable, but I think of trying out restify, it's faster than express as far as I know. also, nestjs requires quite a lot of work to build an API.

fuadnafiz98 avatar Oct 06 '20 04:10 fuadnafiz98

I do agree about nestjs. I've checked out restify and it's pretty much like express. It's also very similar to the way @diegohaz implements rest in this project. Have you already check Loopback framework ? There are also those ones https://expressjs.com/en/resources/frameworks.html

JeffGreat avatar Oct 20 '20 12:10 JeffGreat

No, I never used the Loopback framework, Do you think Loopback is a good choice? I am open to it :)

fuadnafiz98 avatar Oct 21 '20 04:10 fuadnafiz98

I've checked quickly FoalTs yesterday. https://github.com/FoalTS/foal. It looks quite fine. It seems to be more or less like nestJs but a lighter. They had the good idea to publish framework comparison: https://foalts.gitbook.io/docs/topic-guides/comparison-with-other-frameworks

According to them, loopback might be too light for complex projects. Nestjs is powerfull and has traction but it is quite opinionated as its structure is inspired by angular.

In conclusion, I'll continue to use nestjs and I'll try FoalTs in a future project in order to have my opinion.

JeffGreat avatar Oct 21 '20 07:10 JeffGreat

I am planning to migrate this project to typescript, as I want to use a similar template written for typescript for my future projects. @diegohaz will you be interested adding typescript support in the project ? I have understood the basic functionality of this generator and can help with a pr as well.

bhanuc avatar Jul 22 '21 19:07 bhanuc