05_File_Handling_in_NodeJS
10_Getting_Started_with_Express_and_Nodejs
11_How_Versioning_Works_in_NodeJS
13_Building_REST_API_using_Node_and_Express
14_Intro_to_POSTMAN_for_REST_API
18_Getting_Started_with_MongoDB
19_Connecting_NodeJS_with_MongoDB
20_Model_View_Controller_in_NodeJS
22_Server_Side_Rendering_with_EJS_and_NodeJS
23_Building_Node.js_Authentication_from_Scratch
24_JWT_Authentication_in_NodeJS
25_What_are_Cookies_in_NodeJS
26_Authorization_in_NodeJS
27_Creating_Discord_Bot_in_NodeJS
28_Uploding_Files_with_NodeJS_and_Multer
29_Setting_Up_Project-NodeJS_Blogging_App
30_Setting_up_Authentication-NodeJS_Blogging_App
32_Deploy_NodeJS_App_on_Cloud
35_Scale_NodeJS_App_using_Cluster_module
43_Threads_App_GraphQL_Clone
Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
Deploy NodeJS App to Cloud
We can't set PORT
for App on the server by own.
We need a enviournment variable i.e. Dynamic Variable.
Enviornment variable is set by cloud.
process.env.Variable_Name
For cloud sever make sure you have start script "start": "node app.js"
For Node.js, the main file is typically app.js
You canβt perform that action at this time.