some questions about begining node.js [closed] - javascript

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
i'm did starting learn Node.js. Formerly i used PHP and used Wampserver as local server. Now, when i starting learn Nodejs, some questions appear in my mind;
i'm starting use terminal windows first time and i don't know how i use this method on for example a linux based server i lease. Would you instruct me about this?
should i install wampserver for database in my computer? or have another Nodejs solution? Which is more advantageous?
Thanks for your answers.

If you are learning Node it would probably be better to install something more geared to that like a free mysql database. Another good way to do it is sign up for a free Amazon AWS account, you can really get a good grasp on Node by working with Lamda and EC2.

Related

Is socketio good to use in production website [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 months ago.
Improve this question
I want to do some real-time operations in my backend. In the past, I used the pusher for real-time operations. But its cost is huge. So, I am thinking about using the socket IO itself. Before using it, I thought about asking for it in the stackoverflow community. So, what do you guys suggest? Is it suitable for use on a production server?
Socket.io is already used in production by many big companies for products including Trello, Microsoft Office, Yammer, and Zendesk.
As #Tintin said, it's also very popular on GitHub and NPM.
Socket.io on Github has:
56.2k stars
1.6k watching
10k forks
On npm, it shows more than 4.5 million weekly downloads.
So yeah, I would say a pretty solid choice for production, provided, as with any software, you use it wisely.

Is it necessary to use express for node for moderate apps [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
If i have a project with about 30 or 40 routes!?
Is it easy to handle cookies andthe auth without express !?
How % of devs using express compared to bare bones node (For performance and simplicity)
Express is a very good Nodejs framework and most used so it's the one selected by most project.
It already contain a lot's of documentation and package who are already configured to work well with express so it can help you to find more relative project or developer if you try to hire lot's of people.
But Express is not the only one ! And you can choose another one based on your needs, check out Koa, it's an express-lite

JavaScript development on WildFly/JBoss server [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
Is there a way for developers to edit and refresh page directly when modifying javascript hosted on WildFly server?
Right now my cycle is compile and package all the html, js, css, java classes/jars into a deployment war file.
I then deploy that war file into the WildFly server. After deployment, I don't see (by doing grep) any of my code in the server's directory.
That cycle is somewhat very slow for something that doesn't really need compilation (javascript).
What is the best practice for developers in this case?
Best practice is separated front server based on nginx for your frontend, that should call your back server API routed by nginx too.

is it possible to host a vpn server using node js? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I was just wondering if it's possible to host a VPN server using node js? This will make it very easy to create restrictions for the connection or block certain websites for example...
I can't find an npm package for hosting a vpn server. Any suggestions?
One of the solutions that I would suggest is:
To install openvpn. And to use and node client to interact with the openvpn server
Npm package https://github.com/luigiplr/node-openvpn

How to load test a JavaScript/AngularJS app? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have a JavaScript/AngularJS app, which connects with a server via websockets.
Is there an easy way for a load test? For example, I would like to see what happens when the app is called 100x at the same time (so there are 100 connections to the webserver).
Is there a simple way to test it? If I need software for this, it should run local, since the app is on my computer.
Thank you very much!
You can try https://github.com/kidk/felt
It uses real browsers to generate load to a website. It is still a young project, but it might be the solution you are looking for.
(This is my personal project)
Fallowing link may helps to you .
https://github.com/observing/thor
The AngularJS crew have developed Protractor for end-to-end testing
https://docs.angularjs.org/guide/e2e-testing

Categories

Resources