Deploy MERN STACK App with HEROKU

Deploy MERN STACK App with HEROKU

John Ahn

4 года назад

15,688 Просмотров

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


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

오므야(OMUYA)
오므야(OMUYA) - 04.01.2022 09:51

질문 드립니다.
소스내에 있는 localhost로 정의 되어 있는 부분은 바꾸지 않아도 되는건지요?
그리고 헤로쿠로 클라우드에 배포를 하면 SSL인증서 같은게 필요하지 않은가요?
마지막으로 도메인은 어떻게 셋팅을 하는지요?

부탁 드릴께요

Ответить
최
- 29.09.2021 21:46

안녕하세요 매번 좋은 강의 올려주셔서 감사합니다.
다름이 아니라
배포는 성공했는데 앱을 실행하면 페이지 404가 뜨고 log tail을 찍어보면
cannot access '/app/build/static/js/*.js': No such file or directory
이런 오류가 발생하는데 혹시 어떤 문제인지 알 수 있을까요?

Ответить
Nikita
Nikita - 14.05.2021 18:30

any differens with PERN stack or not ?

Ответить
머맨
머맨 - 30.04.2021 18:58

배포 후 이미지 안뜨시는분들은 1번.gitignore 파일에 uploads(이미지나 동영상이 있는 파일) 추가되어 있으면 안떠요~없애주세요 heroku 서버에 같이 올려주셔야 합니다.2번 이미지 불러오는 경로 localhost:5000을 자신의 heroku 주소로 바꿔주세요. 진짜 간단한 실수인데 몇시간을 헤멨네요 ㅠ

Ответить
himantha nanayakkara
himantha nanayakkara - 30.03.2021 09:13

how to deploy upload folder to heroku in this app?

Ответить
Philcob Suzuki
Philcob Suzuki - 26.03.2021 04:26

Bro, your teaching ability is outstanding. You need a brand and make more videos like this. I guarantee everyone's gonna like it

Ответить
bow Rain
bow Rain - 12.03.2021 12:40

heroku 설치후에 heroku -v 눌러도 에러만 나네요.
heroku : The term 'heroku' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the na
me, or if a path was included, verify that the path is correct and try again.

Ответить
Nhan Thanh
Nhan Thanh - 11.12.2020 10:16

hello mn...I deploy to heroku success,
but get an error, when navigating to other sites like signin, signup.. it show up " Internal Server Error ".....
I need helps

Ответить
Himanshu Kumar
Himanshu Kumar - 26.11.2020 15:40

it's working well ...thanks John... except for the upload image part! I am getting the alert `Failed to add to the server`. Can someone please help?

Ответить
Kihun Kim
Kihun Kim - 09.11.2020 23:30

안녕하세요 기능 deploy를 해보았는데 로그인 기능은 작동을 안하네여.... 로그인기능도 되게 하려면 다른 것도 추가해야 하나요?

Ответить
D Jaeger
D Jaeger - 02.11.2020 13:11

Thank you for the great videos, John!
One question: it seems that saving of uploaded images with multer does not work on Heroku. I am getting "Failed to save the Image in Server". Does that mean that this shop app can not really be deployed with Heroku and I must use AWS?

Ответить
GVG
GVG - 11.09.2020 22:16

getting an error dislike

Ответить
GVG
GVG - 11.09.2020 21:53

it says not found

Ответить
GVG
GVG - 11.09.2020 21:20

where is the GitHub folder

Ответить
Adwaith KS
Adwaith KS - 05.09.2020 08:34

Did anyone felt heroku really slow in the free tier???

Ответить
King Sejong
King Sejong - 25.08.2020 15:19

Does anyone know how to successfully upload image?
혹시 사진 올리신 분 계신가요? ㅠㅠㅠ

Ответить
a K
a K - 11.08.2020 07:46

@John Ahn Please help us about pictures not showing, even if we try to upload or create them

Ответить
Jordy Tshibangu
Jordy Tshibangu - 10.08.2020 21:08

NPM_CONFIG_PRODUCTION=false npm install --prefix && npm run build --prefix
The postbuild is not working
i don't really know

Ответить
자는중
자는중 - 16.07.2020 03:49

For whom faced 503 error or request timeout:
It might be mongodb atlas whitelist. add your server ip or allow all ip temporaily.
마지막으로 존 안님. 좋은 강의 감사합니다. 😉

Ответить
Krishna K
Krishna K - 12.07.2020 07:06

I followed the exact steps and no code changes. I'm able to run the app locally and signup and add a product. But If i try to do from heroku , i get 503 error when adding a product

Ответить
William Benarto
William Benarto - 23.06.2020 01:31

Hi John, I'm stuck again hoping you can give some pointers. Heroku deployed my front-end okay and showing my components, but for some reason my mongo DB is not connecting. I get 503 Error in the console. What should I check for this error? Thank you!

Ответить
SandSong7
SandSong7 - 09.06.2020 17:37

I have been trying to deploy my MERN app for hours then I stumbled upon your amazing video - thank you so much John!

Ответить
Lol Matag
Lol Matag - 08.06.2020 04:17

Please help me John, after deploying your online shop course to heroku, all the image is not displaying. but when i start my local server the image appear but only in my device. thanks.

Ответить
Ginux Tech
Ginux Tech - 03.06.2020 04:14

Thanks so much for this great tutorial.. but please the image is not displaying after deployment

Ответить
Anandhu K Raju
Anandhu K Raju - 02.06.2020 20:55

How should I change the images path when I deploy? the link in imageslider.js is locaholst:5000 right so how do we change that?

Ответить
Chamal De Silva
Chamal De Silva - 29.05.2020 22:54

awesome! make more content like this

Ответить
Marcelo Anselmo  - Israel, minha terra.
Marcelo Anselmo - Israel, minha terra. - 22.05.2020 16:02

Thanks a lot, mate

Ответить
Satyam Kumar
Satyam Kumar - 19.05.2020 17:31

Cannot GET/


at localhost:5000

Ответить
Satyam Kumar
Satyam Kumar - 19.05.2020 17:30

I am getting error

Ответить
Chirag
Chirag - 10.05.2020 18:16

So helpful....thanks man!!

Ответить
Abbas Ali
Abbas Ali - 14.04.2020 15:33

Brother, can you help me while pushing to heroku it give me error "node version not specified"
Please help...

Ответить
ee L
ee L - 05.03.2020 21:16

헤로쿠에 연결할 경우...local에서 테스트하던 몽고디비컬렉션들은 다 사라지는 건가요? 아니면 테스트했던 것들도 함께 올라가는 건가요?

Ответить
sdc02408
sdc02408 - 26.02.2020 21:07

John Ahn님 안녕하세요
node와 mongodb로 사진을 다운받는 사이트를 만들고 있습니다!
히로쿠에서 s3를 사용하려면 무조건 addon의 bucketeer를 사용하여야 s3를 사용할 수 있나요?
그렇다면 heroku의 hobby의 비용, bucketeer의 비용, aws의 s3 (무료버전이 끝나면) 세개를 다 비용을 지불해야 하는건가요??
답변해주시면 감사하겠습니다!

Ответить
league wka
league wka - 24.02.2020 16:51

안녕하세요 John Ahn님의 강의를 열혈수강중인 학생입니다. 질문드릴 것이 client 쪽에서 환경변수에 접근하고 싶은데 어떤 방식으로 접근하는게 좋을까요..?

Ответить
Gantz Li
Gantz Li - 23.02.2020 07:34

Hey John, after I deployed my website to Heroku, I can see the homepage. But if I click any navigation, the website shows internal server error. Any idea on why? Thanks

Ответить
Gantz Li
Gantz Li - 17.02.2020 20:23

Hello John, can you please do a video on administrator user account right and normal user account right. For example, administrator account can delete product, and normal user account cannot. Thanks!

Ответить
Abi
Abi - 17.02.2020 10:33

Thank you!

Ответить
Mask Man
Mask Man - 16.02.2020 16:10

fantastic tutorial !!!

Ответить
Pascal Heimlicher
Pascal Heimlicher - 16.02.2020 14:20

your videos are just incredible good John!
can you give any advice of best practice with Heroku separate backend API (nodeJS), separate frontent App (React) and mongoDB. What is the best when it comes to security but also performance.

Ответить
원종운
원종운 - 16.02.2020 13:51

Oh... Deploy... final stage..

Ответить