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
Related
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 4 years ago.
Improve this question
i just finish my first website using react and I gonna put in my server(hostgator), how can I build it?? thanks
if your project just front end code which just JavaScript, html, css. Not backend needed, you can simply put your build folder(npm run build) in your web hosting. Or simplest way to make your website available by using GitHub pages https://pages.github.com/
Did you create it with CRA? In this case just run npm run build and put in your server build folder by default.
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.
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'm creating an aplication with Electron + React. The app has to allow users to save files on the server (something like Google Drive).
Now, im building the server side with express but i dont now how to send files to the client. How could i do it?
Would it be nice to use an FTP server instead of node?
Thanks.
Well there are 2 options regardless:
1) You just send your app unique link of the file witch expires after some time.
2) You stream the file to electron directly(Just google node streaming.
Thats about it.
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 have an NodeJS application that runs on localhost and I want to share it with another person.
But I don't want to reveal my code. So how do I give it as an application rather than the code itself.
I need to make my application a binary file.One click run app.
There are modules out there which help in converting node application to binary(exe) .
Some are
EncloseJS, pkg
You can do that by using Ngrok after install it and run it; you can give access to your application URL and PORT for example http://localhost:3000 and then ngrok will give you a URL to access it from outside.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I have a Node JS server running socket.io able to communicate with other clients using the socket.io-client package. I'm trying to now, write a client in Lua to connect to my socket.io server. Then when it's connected, be able to send and receive events. Any help would be highly appreciated.
If you want to try only with socket IO server then try https://github.com/ignacio/LuaNode-Socket.IO.
Else you have to go with some native websocket implementation.
Also have a look at this SO
Have you tried the LuaSocket module? https://luarocks.org/modules/luarocks/luasocket