简体   繁体   中英

Google Cloud as server for node.js

I want to create a node.js with express application that can host multiple clients with different domain names.

I have never created such application, so my question is:

If I have a project on my computer and want google (or some other hosting) to run my node application, how do I do it? Do I need to zip the whole project, and transfer it to the host? If not, how do Google know the front-end and back-end code?

If you just want to deploy your code, App Engine is the best option for you.

You can deploy your code there, and Google will manage how many instances will you need. For NodeJS, you can see a quickstart that will show you how to start here . You can deploy different services and map those services with different domain names .

There are examples on App Engine if you are using Express , and a tutorial that will show you how to organize your front-end and back-end in App Engine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM