NodeJS frameworks
-
We have a java/spring backend with a flex frontend and we are looking to rebuild it using some sort of js framework on the frontend (leaning toward react/redux now) and something on the backend.
We're currently leaning toward nodeJS right now, but I'm not very familiar with it. Are there any frameworks that people like using? It's mostly going to be wrappers around sql server stored procs, but there may be some business logic in there too.
Ideally something that makes authentication and impersonation easy.
Some sort of unit testing would probably be good too.
-
How about the ASP.NET stack?
-
@AlexMedia said in NodeJS frameworks:
How about the ASP.NET stack?
Also something we're considering. Do you have frameworks in mind?
-
@dangeRuss ASP.NET MVC
-
@dangeRuss said in NodeJS frameworks:
Do you have frameworks in mind?
Plain ASP.NET MVC (or Core, if you must) and/or Web API for the serverside stuff. You won't need any "frameworks" beyond what Microsoft already offers.
For the clientside stuff: first determine your wishes and requirements, then find a technology which suits your needs. Don't rule out vanilla javascript, it's fine.
-
@dangeRuss said in NodeJS frameworks:
We're currently leaning toward nodeJS right now
For the backend, right?
@dangeRuss said in NodeJS frameworks:
It's mostly going to be wrappers around sql server stored procs, but there may be some business logic in there too.
Express is probably fine for you. We went with Hapi, because it's modular so we can have different teams all working on their little piece and plug it in all together at the end. Either of those will have auth packages you can plug in, and are unit testable.
For the frontend, go as lightweight as you can possibly manage. Roll your own, or something like Backbone with JQuery, something light like that.
-
I was also just thinking using python with flask. Does anyone know if flask supports impersonation?
-
@dangeRuss said in NodeJS frameworks:
Does anyone know if flask supports impersonation?
Flask itself doesn't have user management at all. You should probably take a look at the documentation of the plugin you're planning to use.