Can I use a Wix domain for a NodeJS app? - node.js

This may be a silly question but I was wondering if I would be able to use my wix domain mfall33.com when deploying my node app.

I'm not really sure how Wix is working, but if you paid for a domain name, you should be able to link your domain (mfall33.com) to an IP address.
So yes, you should be able to use your domain when you will deploy your node app.

I think you might have been a bit confused.
A Domain is the name of your website, i.e. the URL.
Wix is a system to build a website.
Node JS is a technology to build a server.
Today as Wix Code released, I believe you can send events from Wix (client side) to your Node (server side).
You can change the DNS in order for your domain to point to your Node server in case you don't use the client side of Wix.

Related

How to hide technologies stack from third party website to know our web site development?

I have created one website in .Net Core(v3.1) and host it into a Godaddy server and web application works fine but I want to hide my technology stacks like Bootstrap, jQuery, and any other technologies that I have used?
Is there any possible way to do that if anyone has an idea about that it would be appreciated?

How to connect WIX template with 3rd party REST APIs?

I created a simple web site using WIX platform. (https://www.wix.com/). I have some simple forms. Like customer registration and package management. All the UI part is done. And I have a Node.JS server to manage customers and packages. API is 100% done.
Now I need to connect WIX template with my NOde.JS REST API. Is there any possible ways to do this ?
My Node Server is deployed on a Ubuntu server and I can access it anywhere.
Please help me on this.
Yes, now Wix has this thing called Wix Code platform, which enables you to dynamically control your UI components and bind it to data coming from the outside.
To answer your question, they have this fetch API which you can use to write code to fetch your own server and get the data from it. Here is a link Wix Code API - fetch
Anyway, this is their site, Wix Code, you may learn a lot more there. Also they have those tutorials and examples of many "how to..." and examples Wix Code Tutorials and Videos
Cheers!

How do you connect the frontend and the backend?

I'm still kind of new in programming and I'm not quite sure that this is the place to ask this question, but I can't find anything worthy on the Internet. Sorry on first place but I'm truly lost. All I can find is "just use wordpress" and things like that.
I'm trying to make a website from zero with HTML and CSS, and there I would have the front end. I know a little bit of backend but I'm still learning. The real question is: how do you mesh up all of this and put it on the Internet so others can see it? I know you have to buy a domain and so, but how do you put it all together? What do you exactly do with your server-side code if what you "upload" is the HTML code? Are there any good books on the subject or something so I can study it on my own?
Thanks in advance.
Read about web frameworks like Spring in Java or Django in Python. Start with a lecture of these to grasp a notion of backend and frontend working together:
https://www.quora.com/How-do-front-end-and-back-end-technologies-work-together
https://www.quora.com/How-are-the-front-end-and-back-end-connected
https://www.quora.com/How-does-frontend-code-and-backend-code-interact-with-each-other
EDIT
And don't forget to read about the MVC pattern.
If all you want to know is how to publish an html/css project to make your website live then you need a domain, hosting account, your project files, and an FTP program.
Buy a domain and hosting account through a website like godaddy. Once you have that then you basically have your own little server. A server is just a machine thats on 24/7 which holds your project and makes the files live on the internet for people to view.
Once you create your project, then use ftp software such as filezilla to connect to your server. Drag your project into the public_html folder and your website will be live!
I think the word you are looking for is "web server." Examples of web servers are Apache, nginx, and IIS. A web server is a computer program.
A simple web server is sometimes called a "static web server."
To see a bit how this works, you can install a static web server like http-server on your computer (which requires Node.js to run), point it at a directory, and browse the site on your own PC.
So if you have a folder called "my-site" and a file in it called "index.html" and you ran the http-server in the my-site folder, and you went to http://localhost:8080, you would see "index.html" in your browser.
To put all this on the internet:
First, if you have an internet connection at home then you could technically set something up on your laptop that people could connect to. I won't get into it here because it's a little involved, but I think it's important conceptually to understand that you could do it if you wanted to.
You need to get access to a web server. A relatively fast way to set this up would be with zeit.

Using node as api and static

I'm extremely new to web development. I've bought a domain name (let say 'domain.com' and what I want is to have two links: one 'api.domain.com' with MySql database and Node server for API; and second is: 'domain.com' with some client-side app which will call to 'api.domain.com' for data. Same for native mobile apps which will call 'api.domain.com'.
What NodeJS frameworks will you suggest to best serve this needs. And how are those "domain tricks" called, so I can read about how to organise it.
For bare web framework and middleware abstraction, please see express
For Extensive API development and integration, please see loopback
For enterprise features to manage your deployments, please see strongloop

Best way to integrate/embed a node js project in a non-node application

I have a node (+express and socket.io) project which runs a server presenting data in html. But i dont want users to go to the specific url or i.p. address. Instead i would like to integrate the node application in an existing webpage. (For example a Wordpress site)
So what would be the best way to integrate a node project into an existing project that is not bulit with Node? Embedding it in an iFrame doesn´t seem optimal ;)
I guess jQuery.load() wont work since it´s not listening for server side changes and the whole point with node goes missing :)
Kind regards
Henrik

Resources