How to deploy nodejs and express REST APIs to Shared Hosting including database

How to deploy nodejs and express REST APIs to Shared Hosting including database

Technical Babaji

3 года назад

115,304 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@kelvyncarvalho
@kelvyncarvalho - 04.12.2023 04:03

Obrigado, me ajudou muito, 🇧🇷

Ответить
@muhammad-azeem-iqbal
@muhammad-azeem-iqbal - 05.11.2023 06:43

My cpanel is not detecting package.json what shud i do?

Ответить
@shamoilkhan888
@shamoilkhan888 - 28.10.2023 16:54

After watching so many videos. This is the one video which show step by step complete process.

Ответить
@YourNur-qq2yn
@YourNur-qq2yn - 22.10.2023 12:12

Great video, I was looking for a video like this, can you please provide the github repository of this project?

Ответить
@omarrsabryy5509
@omarrsabryy5509 - 18.09.2023 17:20

will be any change in steps or config if iam usin es6 modules (import & export) not require

Ответить
@Chimmezirim
@Chimmezirim - 16.08.2023 12:03

Great tutorial!
Are the the variables necessary in hosting your api?

Ответить
@ankurkataria4660
@ankurkataria4660 - 13.08.2023 23:30

How about npm run build?

Ответить
@kamranhassan8466
@kamranhassan8466 - 28.06.2023 10:52

Hi I am getting the following error could you please provide any solution

Instead change the require of index.js in /usr/local/lsws/fcgi-bin/lsnode.js to a dynamic import() which is available in all CommonJS modules.
at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1) {
code: 'ERR_REQUIRE_ESM'

I am using "type" : "module" but I think it require "type": "commanjs"
is there any quick solution instead of converting the whole project manually

Ответить
@xuwang6127
@xuwang6127 - 03.06.2023 21:18

could i ask how to deploy restful api which will be used for my nextjs project?

Ответить
@amancca
@amancca - 03.04.2023 13:35

❤❤❤❤❤ thanks

Ответить
@usamawaheed1791
@usamawaheed1791 - 09.02.2023 20:40

Thanks for sharing this information, some can guide please about hosting platforms that support this

Ответить
@NasaV2.0
@NasaV2.0 - 01.02.2023 22:21

Thank you bro ❤🎉 Much appreciated ❤

Ответить
@pramodghodke8005
@pramodghodke8005 - 29.01.2023 12:01

Pls can anyone help me about node_env, what to write in it, and where to add it

Ответить
@mysteriousbillionaire7349
@mysteriousbillionaire7349 - 21.01.2023 15:23

I am getting this error when i click run node js

Cloudlinux NodeJS Selector demands to store node modules for application in separate folder (virtual environment) pointed by symlink called "node_modules". That's why application should not contain folder/file with such name in application root

Ответить
@mysteriousbillionaire7349
@mysteriousbillionaire7349 - 21.01.2023 13:25

If you buy shared hosting from BlueHost or GoDaddy, you wont get the Nodejs option in the cpanel.

Ответить
@faoberilo87
@faoberilo87 - 30.11.2022 13:47

Hi Man! On my cpanel don't show the option for install node! What can i do??? Thanks

Ответить
@maneeshmourya869
@maneeshmourya869 - 08.10.2022 11:09

I'm using mongodb database how to upload on nodejs express api in shared hosting

Ответить
@abdulkadirguven1173
@abdulkadirguven1173 - 23.09.2022 07:24

Thank you very much ;)

Ответить
@PROTECHRAHUL
@PROTECHRAHUL - 09.09.2022 19:18

How to deploy mern app on domain

Ответить
@neerajkanojiya8098
@neerajkanojiya8098 - 31.08.2022 22:42

Hi Sri, very nice video. Can you please help me to guide for similar scenario: my main app is api routing based and in the same hierarchy I have given client as frontend.
In such scenario, what should be right approach?
Thanks!!!

Ответить
@ezokezokovich9092
@ezokezokovich9092 - 29.07.2022 01:37

tanks for the video

Ответить
@fiendsgaming7589
@fiendsgaming7589 - 28.06.2022 21:03

can we get repository link of your app

Ответить
@bodkhedeepak
@bodkhedeepak - 11.06.2022 09:10

Thanks a lot, for your nice tutorial, learning full tutorial.

Ответить
@Rohitkumar-vq1yk
@Rohitkumar-vq1yk - 22.05.2022 00:40

thank you sir ji

Ответить
@Sunil-zm3sx
@Sunil-zm3sx - 21.05.2022 07:34

Not Happy man! This code you say is same as you have covered in a tutorial, but the code is actually different. This code, which you are deploying contains extra changes.
After i followed that tutorial, working fine in localhost, but to deploy you have made more changes which you did not show in that tutorial, but those we can see here.

Please help!

Ответить
@muedeMurmel
@muedeMurmel - 17.05.2022 21:02

great video!

Ответить
@HARSH11ify
@HARSH11ify - 23.04.2022 10:59

Hi, if we do not give the port to the server, then how will our Frontend application contact the backend. I mean which port?

Ответить
@efedanielonah-ojobo5959
@efedanielonah-ojobo5959 - 15.04.2022 18:49

hi thanks for the video really impactful...Please , i created an api endpoints for registration,login,otp and password...which is working. But am challenge storing users to my database without using prams. Which means, i need too always pass the users id. I would need your help in solving these challenges. Thanks

Ответить
@edxniel3538
@edxniel3538 - 12.04.2022 01:10

Donde comprar ese cpanel amigo

Ответить
@abubakar-jp7us
@abubakar-jp7us - 01.04.2022 12:45

Error ID:
9e41db4f
Details:
Web application could not be started by the Phusion Passenger(R) application server.

Please read the Passenger log file (search for the Error ID) to find the details of the error.

You can also get a detailed report to appear directly on this page, but for security reasons it is only provided if Phusion Passenger(R) is run with environment set to development and/or with the friendly error pages option set to on.

For more information about configuring environment and friendly error pages, see:

Nginx integration mode
Apache integration mode
Standalone mode

when i click on apllication url i have show this error

Ответить
@abubakar-jp7us
@abubakar-jp7us - 24.03.2022 10:39

An error occured during installation of modules. The operation was performed, but check availability of application has failed. Web application responds, but its return code "500 Internal Server Error" or content type before operation "text/html; charset=UTF-8" doesn't equal to contet type after operation "text/html; charset=UTF-8". i have this error when run npm install

Ответить
@manojmohapatra986
@manojmohapatra986 - 10.01.2022 18:18

My doubt is in file manager , where you have added the project have only one node folder. How to add multiple node js app in one node folder in file manager?

Ответить
@rajeshmondal8392
@rajeshmondal8392 - 20.12.2021 19:20

Hello sir, I have a frontend built with React and a backend built with Node JS and Express. I am hosting the site with cPanel. How can I do this? Please help me sir.

Ответить
@rizibizi4995
@rizibizi4995 - 28.11.2021 04:01

You just earned yourself a like and a sub!

Amazing video

Ответить
@safakyavsan737
@safakyavsan737 - 11.11.2021 20:45

Hello thanks for the video but I have a problem that my cpanel does not have setup nodejs application button how can I add it ?

Ответить
@raju.sarvasiddi
@raju.sarvasiddi - 03.11.2021 21:27

help me out in deploying REST API developed using NodeJS, ExpressJS, and TypeScript. Its working fine when I use file extension as .JS. But, its not working when I use TypeScript

Ответить
@love-beautiful-afghanistan
@love-beautiful-afghanistan - 03.11.2021 01:19

I am using nestjs instead of nodejs. It needs two parameters. One for port and one for call back. I remove the port form app.listen() as you mentioned. Now it gives me error while build it. It says the port is required. What should I do . Any help guys?

Ответить
@love-beautiful-afghanistan
@love-beautiful-afghanistan - 22.10.2021 16:31

Hi, thank you for your great video. I have a nestjs application inside a monorepo. I followed the video and uploaded all files and folders to server. But there is no app.js in the root directory! Which file should I choose as application startup file?

Ответить
@satenwebmedia6864
@satenwebmedia6864 - 03.09.2021 14:04

Thank you sir, for its nice tutorial, learning full tutorial.

Ответить
@nasarulislam5981
@nasarulislam5981 - 30.08.2021 18:24

"Cannot GET /api"

Ответить
@maheshmahadar4780
@maheshmahadar4780 - 30.08.2021 07:49

what is the diff between mysql database and mysql database wizard

Ответить
@fishhtianggedumaguete2519
@fishhtianggedumaguete2519 - 29.08.2021 04:58

where did you get the 3306?

Ответить
@isamsalih9887
@isamsalih9887 - 24.08.2021 14:00

Salamat Tariqu, Which cpanel is that?

Ответить
@mhshuvoit
@mhshuvoit - 19.08.2021 07:39

Will it be work if I use MongoDB in rest api?

Ответить
@herodemy8893
@herodemy8893 - 08.08.2021 03:54

i need help how to uploaded APIs express with swagger, still error

Ответить
@haiderjaafer8164
@haiderjaafer8164 - 25.07.2021 23:27

hi friend ... how can set environment variables in database.js file ... and what about .env file

Ответить
@SalmanZax
@SalmanZax - 24.07.2021 23:44

Thanks you sir

Ответить
@lamargtv2572
@lamargtv2572 - 17.07.2021 09:58

Error
/home/dgpmallc/nodevenv/nodejsapp/12/bin/npm: fork: Cannot allocate memory

I get this error when i run npm install. Can anyone tell me why?

Ответить
@lamargtv2572
@lamargtv2572 - 17.07.2021 08:53

Hi, can I have your email? I want to ask about hosting node js and install express in my hosting. I have an error, plsss 🙏🏻

Ответить