How to build desktop App using electron - node.js

I have a website which I build using Angular as frontend and NodeJs as my backend with mysql as the database. I want to create same version of the website as desktop application using ELECTRON, Am new to electron, Can someone guild me on how to build this desktop app. also do not forget my database which in mysql.
With Kind Regards,

It would be good to know what kind of web application you have and what you're trying to aim with the desktop application.
One solution could be to just embed your web page in the desktop application, inside a webview.

Related

How can I create a mobile applications which react that can also serve as a website

I just finished my JavaScript course and I understand pretty well how things work.
I have started my React journey with a project in mind
So I want to create a mobile application using React Native and I also want that same application to be a website with domain and url since I want the website to work with with Google adsense.
I'm a little bit confused about things cause I want to use mysql database, node for back end and React for the front end, but I don't know if this is possible to just create one application that work as both mobile app and a website.
Thank for your assistance and advice in advance.
A way to use practically the same code for a web frontend and mobile app is using tools like Capacitor. It make it quite simple, and also allow you to use some mobile native API's.
Here's how to integrate it with react js Using Capacitor with React

Which will be the best way to adapt an web app running in Express to mobile?

I have make a simple web application in express (Node.js) with ejs as a template/view system.
Very simple. For some reasons I need to make that app working on mobile devices just to have some push notifications: chrome notifications works great but some devices (android) have this feature blocked by default also IOS blocks chrome notifications
So the only way is by converting this simple web app into some kind of mobile app. Ionic look's great but you need to adapt your view tags and code..also I don't know if you can combine it with express.
Which will be the best way to adapt an web app running in express to mobile?
I was currently solving the same problem for my new problem you can Convert your Web App to a Mobile App with Apache Cordova , specifically using the Ionic framework, you won't change much on Server side(node.js), however few change as to be made on angular js and very little on view to adapt on ionic design view which very similar to bootstrap tags

Hybrid Mobile App Development With Ionic Frame work, Node.Js and MySql

Hi Users,
I am new to this forum and mobile app development. i am web application developer using php and its framework now planning to develop mobile app for my web applications, i preferred ionic framework, NodeJs and MySql.
My Questions
Is ionic,node.js and MySql is a correct combination? will this combination deliver efficient product.If not what will be the right combination ?exception for mysql many one will prefer mongodb for nodejs but in my organization its not preferable.
I need a simple login app using Ionic and NodeJs.

Native apps, Web apps communicating with same application server

Hello guys i was learning web developments and have a simple question. If i built a e-commerce web page using node.js and ejs template engine and everything works fine. The next decision is to build a native app for the same e-commerce site either android or IOS. I want the native app to also communicate with the same application server designed in node.js. Do i have to redesign the application server?
My approach or thought:
Native app will have to consume data either xml or json. So i will have to change the business logic of my endpoints. And if i do it this way, i will also have to change the way the web ui interacts with the application server and it also has to consume json or xml response using ajax call. Is my thinking or approach on the right track? But if using node.js, should i avoid the template engines?
Yes, you have to redesign the application server logic by exposing API endpoints. As mobile apps (iOS/Android) will interact with the server using these API endpoints, via JSON. And this will affect your web page also, as everything thing now has to be done via AJAX calls.
Best practice is to built a single page web application using Angular or React.
That way both your mobile app and web app would behave almost the same.

Analytics for nodejs + extjs webkit application

I am developing nodejs webkit application. I am using extjs for UI. Application will be installed by anyone, we would like to track application usage using some analytics system, may be google analytics or any opensource tracker.I know google analytics does not support usage tracking for desktop apps. Since app is developed on nodejs webkit it will run on tablets and smart phone too.
Please guide on possible solutions.
We created pages on server and requested same from app. We used piwik to track pages.
It worked.

Resources