Node server for electron app [closed] - javascript

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.

Related

How do i listen to data posted to webhook in react? [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 2 years ago.
Improve this question
I have setup a webhook, that facebook posts data to. Basically its just a test webhook using https://webhook.site/.
Now how do i reflect this data on my client side (I am using react using create-react-app, but even a generic solution without using create react app will do ), How do i listen to this data, so i can refesh my frontend and show this data on my frontend.
You need a server that can listen to incoming requests. From this server you could establish a websocket connection to your frontend to reflect these changes in real time.
Some resources:
Hello World Express (Node.js)
Get Started with socket.io (Websocket wrapper)

Communication between my react-native file and server.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 3 years ago.
Improve this question
I'm working on a project with react native, express and MongoDB.
When I click the submit button, I want my string to be passed to server.js where I can implement my get-request. Basically, I'm unable to create communication between react-native-js file and node-js file. I'm using react-native-router-flux for navigation.
Procedure One : you need to develop the backend using node+express
the backend should expose the api endpoints like this ->
http://serverRunningurl/auth/usersignin
Procedure Two : you need to access those endpoints via your react-native side..
lots of client side http libraries out there , use axios,
Try this reference first : The MERN Stack Tutorial

NodeJS Application securing and sharing [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 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.

How to implement a chat feature on Laravel Application? [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 7 years ago.
Improve this question
I have
a web-application that use :
Laravel for the back-end
Angular for the front-end.
I finished
implement the whole
user-authentication
register
log-in/log-out
forgot-password
reset-password
email activation
Now, I want
to add a chat feature to allow my users to chat with each other.
How do we make something like that ? How do we start ?
For anyone that have done this, how did you start ?
Any hints or suggestions on this will be much appreciated.
Actually chat application should not be done in pure PHP i would build chat application on the top of socket.io
https://github.com/krimple/angular-socketio-chat and pushing messages from laravel to socket.io client (angular)
http://www.codetutorial.io/laravel-5-and-socket-io-tutorial/

How to start a chat client app on various platforms [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 9 years ago.
Improve this question
Basically I'm trying to develop an App that sends some information (Text and Images) to a server and then this server redirects the info to a other devices.
What framework do you know to handle realtime communicaction between users?, I've checked Firebase (Firebase Cloud Messaging), and also I have checked frameworks like ionic to be able to develop once and then deploy in various platforms.
Check out app warp - it pretty much has all the server code written for you already:
http://appwarp.shephertz.com/
It's mostly used for games, but you can easily use their services for IM.

Categories

Resources