TL;DR: Maybe we will start a new startup project soon, I want it to be built in a nice way from scratch. I've worked with Express in past, but I miss things like a built-in ORM, CLI, and more. I've worked with Laravel in PHP and it's a full ecosystem. Sails have most of the functions I need - is it worth it? Any drawbacks? Better solutions?Full text:Hi,I may start a new project, mostly for rest apis, frontend will be in Vue or Angular. I've worked with Express in the past and it was cool because you can easily build web services very fast. Mostly, these apps were used for small or private projects.The future project will hopefully be a bigger one. It will start as a private side project with the goal to rapidly grow, so I want to built it nicely from the beginning. No spaghetti code, etc. Express is good, and there are many options to improve the "small" framework with e.g. express-generator and add ORMs by yourself. But it's still a rather small framework and not a complete ecosystem.I've read into Sails, and I start to like it. My problem: I don't know how the maintenance will be in future (I know, you'll never know that). The 1.0 version is still beta for around 2 years, and there are some minor issues: e.g. when generating a new sails app, a front page is automatically created which leads to a dead link. I know, it's just a minor issue - but I have the impression that they overlook the details.Other possibilities would be Hapi or Loopback. The first one seems to have a hard learning curve, the second one installs 1 gig of node modules which seems to be some kind of an overkill for me.What would you suggest? I've looked into other companies that use Node, but the big ones use their own customized frameworks (mostly based on Koa or Express as far as I can tell).Anyone here who had a similar situation and found a solution?Thanks and have a nice evening!PS: I am aware that there are plenty of articles and threads discussing the topic. But I mostly care for a good maintenance, a built-in ORM and a working CLI. These are rarely issued in discussions I've read.
Submitted November 05, 2017 at 07:15PM by unxspoken
No comments:
Post a Comment