Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
When I have started learning nodeJs , I was consider this as a server side back end language . But then I came to know from a senior developer that NodeJs is not back end , it is middle ware .
I don't find any specific article for this point .. can anyone clear this . Is it only middle ware , or can be use as middle ware language with a server side language ?
please read this https://nodejs.org/en
indeed node.js behave like back-end and can replace php, asp.net.
there are a lot of supported framework to do mvc application on node.js, e.g., express, koa
It supported by the google V8 engine, compile to c++, making js more efficiency and faster. So it can do lots things not only server side or middleware.
Because the rapid development, lots company use it as middleware, then the front-end can write both side code.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have a java library which I wish to use in nodejs. Please send me an example gwt application which compiles to the single js file and it is compatible with nodejs.
GWT resulting code can be executed in any JS engine, it is just a java to js transpiler. But it is probably useless (or unnecessary complicated) to use GWT to run the transpiled code in the server-side.
If you are going to develop in JS, then you can create both the client and server sides in JS. Otherwise, if you have a Java server, you can use GWT to program the client-side in Java too. In both cases, the main goal is to share code in the same language but executed in different platforms, the browser (client-side) and the JVM (server-side).
If you still want to execute GWT code in node, you can get inspired by this library (outdated):
https://github.com/cretz/gwt-node
A modern solution will be to access node.js API using JsInterop and using SSO (Single Script).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have to create an admin panel that will rely on an API I created.
I would like to use an framework that will speed up my dev. (create request based on field provided by user, search ,etc)
To make it , I want to make a single app REST API client front-end. I didn't find a framework that could do that easily (for example : one that use a rest api client and a another front-end app)
Any ideas ?
No one will choose that for you. Go to this website:
http://nodeframework.com/
And read about all of the framkeworks there. Compare their differences and see which is the best tool for the job for you. Every one of them has its use, every one of them is good for something, every one of them has its strengths and its weaknesses. For API development most of the people choose Express, Hapi, Restify or LoopBack but there are much more than just those few to choose from. You need to test for yourself which works for you.
What I discover and that could help another guys :
https://github.com/marmelab/restful.js
With some explanation : https://marmelab.com/blog/2015/03/10/deal-easily-with-your-rest-api-using-restful-js.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I enjoy using loopback to quickly build a REST api, with a fair amount of scaffolding. All I need to do is define my data, write any custom validations, and add any other server-side logic. For simple requirements, you can have a RESTful API in minutes. What about GraphQL?
Loopback doesn't support GraphQL. A quick websearch shows a few grapql servers like express-graphql. Is there a more batteries-included option? I don't want to write a web-server. I want a framework, but I can't find such.
I just want a functioning and stable data-abstraction layer, access control, a graphQL interface, and a solid way to connect all of these reliably. Is there a solution available already?
I would prefer a solution using either nodejs or python
It may help you to know that I have just discovered GraphQL. So maybe my question shows a fundamental misunderstanding of the topic, maybe I'm ignoring something obvious. If so, enlighten me.
Does Apollo server come closer to what you're looking for? https://github.com/apollostack/apollo-server/blob/master/README.md
express-graphql's main goal is to be a minimal reference implementation, whereas Apollo Server's goal is to be a complete production-ready GraphQL server.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there a javascript only mongo client?
the node mongo driver is native, right? I can see kerberos being compiled on install. plus some places it is called "native mongo node.js client".
this page says the following
It is written in pure JavaScript and provides a native asynchronous Node.js interface to MongoDB
but that just means it has compiled dependencies, right?
it is all very confusing.
I am looking for a mongo client that does not require any kind of compilation for nodejs. does one exist?
The top end of the driver is javascript, the speed critical parts are native, or it was easier to include an established/proven package like kerberos. Note that easier does not imply lazy - it implies that no implementor has yet thought the effort justified the benefit.
Drivers are listed here and it is interesting to note that there are not even minor projects that attempt to write a javascript only solution - as one might see in, say, Java.
Many more complex/mature node packages require compiled dependencies; building node products for the target platform is standard and services like Travis make this easy.
I suggested you using mongoose. this very popular.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am relatively new to Node JS, I've built three small application I would like to host. Is there anyone who could provide a good starting point to learn how to deploy an app to one of the many services available? So far I am astonished by the lack of support from the companies who offer this service, as well as the vast amount of problems I am running into so if anyone has any tips, please help.
This is cloud platforms compatible with node.js. The most popular heroku, nodejitsu, appfog (my choice).
Heroku
https://www.heroku.com/
It's super easy to use and provides easy integration of mongo db
Also If in future u create ionic app , u can host them too
I've been trying several of those options, and on my opinion Nodejitsu is by far the best, the thing is that is not free (just the first month). So, because of that you may wanna try Heroku (it didnt like me). Another option in beta is Cloudno.de.