Can I host my angular6 web app in MacOs server? - node.js

I am newly to host the web application to server. Now I am using macOS Sierra Version 10.12.3. I developed angular6 web application. Can I setup my desktop as macOS server and host my angular web application?

Yes, you can, and not only on the Local Area Network, but on the Wide Area Network. And if you buy a domain name you can attach this name to your server. At the end of the day after you executed 'ng build --prod --aot', everything will be compiled to plain Javascripts just like any other websites regardless of any JS frameworks. Just try to look up on google about hosting a website on MacOS server.

Related

vite can't open webapp running on linux machine from other devices ERR_CONNECTIONS_TIMED_OUT

I'm building a React web app using vite on my laptop(linux) and trying to access its URL though local network (like http://192.x.x.x:3000 on my computer (windows) or phone(android), but I can't open the page(ERR_CONNECTIONS_TIMED_OUT), also I can't open others projects this way, but I can open that url locally on laptop
When I was using windows 10 on laptop long ago and doing website with gulp I could expose page url the same way and simply open it on phone without any other configurations. So the question is what should I do to configure it properly?

Hosting website in INTRAnet environment

Is there any safe way to host a site Net core website through a installer (may be in IIS), similar to any desktop application installer?
e.g. Neo4j works as webservice but has its own jetty server to host. U just download and its up and working.
I dont understand your problem. Why you just dont run your app with Kestrel? (dotnet <patch_to_your_dll)

Deploy NodeJs Express App on Windows and Linux Server

I am developing a small project which contains few applications:
A node.js rest API
A node.js app that use socket.io.
A static app that server html js file to the client.
I am also using a MongoDb.
In few weeks, I'll have to deploy this app in production and I have some requirements that the app should be installed on windows and Linux server (Don't really know if it really matters).
I had a look at some tooling :
StrongLoop Process Manager
PM2
Forever
But cannot really find out if these tools are up to date or if there are better alternative in 2016 ?
Here are what seem to be the recommended ways that I've found:
Windows: iis-node (and this vid is helpful to get that going). Also note you'll need IIS 8x to support websockets.
Linux: PM2 to manage the process, and nginx for proxy server. This article has helpful step-by-step for Ubuntu.

Can my Azure Mobile Service run locally?

I am new to Azure. I am following this tutorial in setting up my .Net server for azure and ios client.
http://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-ios-get-started/
I am testing my ios client on simulator. Can I run my .NET server on my location machine with put publish it to azure? If yes, how can I figure my client to talks to this location machine?
And in the tutorial, it creates a Database Table. If I run it locally, do I need to setup my location DB server?
Not on a mac (which you need for iOS development). With the .NET backend you can run the service locally on a Windows machine, but it will be running off of localhost.
For iOS development, you have two choices. If you use the JavaScript / node.js backend, where all of your development can be done in the Mac (you can configure the service via Git locally or directly in the portal). If you use the .NET backend (the link you mentioned), then you need the Mac for the client-side development, and a PC (or Windows running in the Mac on an emulator such as parallels) to develop the server (you need Visual Studio for that).
And regarding your question about the table, when you run it locally, it will use Entity Framework Code First (by default), so you don't need to create the table in your (local) database - it will create it automatically for you.

Autorun desktop app and check if it is running from a Windows 8 App

I´m developing a Windows 8 App, and it needs a desktop app running on background to work properly.
So i have two questions:
1.- The OS is a Windows 8.1 Industry Embedded. I need to autorun the desktop app and my Windows 8 app at startup.
Here explains how to do so with a Windows 8 App, but not with a desktop app, so i´m using this other solution to add the application to the Windows Startup folder, but i´m not sure if this is the best way.
2.- Then, when my app starts, i should check if the other app is running or not to work in one way or another. How can i check that? I´m developing with HTML and Javascript.
Thanks!
Yes that is the 'proper' solution to starting a desktop app on startup. Otherwise you can look at creating a windows service that manages the app lifecycle.
By design, winRT apps are not supposed to talk to desktop applications, but if you are sideloading the winRT app (i.e., not through the Windows Store), you could run a local server with your desktop app, and then enable local loopback with localhost in your winRT app and communicate that way.

Resources