Тёмный

Heroku Free Alternative Hosting for Nodejs Backend Server (Render) platform Github, subFolder, Repo 

Code Like Pro
Подписаться 3 тыс.
Просмотров 2,5 тыс.
50% 1

In this video we transferred our backend server (Nodejs server) from Heroku, as it is not free anymore, to new free and easy platform Render. And we updated the link of the server in our Frontend app hosted on Netlify.
Heroku Alternatives
Auto Deploy from Github Repository using subDirectory for backend server and frontend React
Render (Free hosting platform)
Nodejs
Expressjs
Reactjs
Backend
Frontend
Deployment
Travel Couch Surfing Project (React Project)
Project Repo:
github.com/cod...
Hosting Platform:
render.com/

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@crees6447
@crees6447 Год назад
Did not expect you'll add this one. Number one Subscriber here!!! Thank you so much/!!
@CodeLikePro22
@CodeLikePro22 Год назад
Thanks my friend🙏
@vedantmodak4574
@vedantmodak4574 Год назад
GOAT youtuber. Thank you for this!
@CodeLikePro22
@CodeLikePro22 Год назад
You are very welcome my friend
@mreasy2370
@mreasy2370 Год назад
Have you notice on your live push, did the update patch work on your end when editing a room? Patch method only one that got blocked by Cors. GET POST PUT & DELETE works. even if in the code PATCH is included.
@shadowfightwarriorsn97
@shadowfightwarriorsn97 Месяц назад
The render platform has zero down time issue. Say me other platforms name. I am from India. Which server i am needed to select in render for better performance
@mreasy2370
@mreasy2370 Год назад
Where is your first part of uploading in netlify?
@CodeLikePro22
@CodeLikePro22 Год назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2nfaSvzhU2w.html
@arymansharma2841
@arymansharma2841 Год назад
can we do this as a main project for our placements.
@mreasy2370
@mreasy2370 Год назад
Thanks for the response, I'm getting cors error "has been blocked by CORS policy: " deployed it successfully but getting error. Failed to Fetch
@CodeLikePro22
@CodeLikePro22 Год назад
You need to add cors package(or the same code we added for our project) in your server to allow access from client link and make sure that the client link in your environment variable matches the one appears in the error
@mreasy2370
@mreasy2370 Год назад
@@CodeLikePro22 in my local environment, i dont get cors error, but on live production is where the cors block appears.. Also installd the cors npm still same error. applied it on app.use
@mreasy2370
@mreasy2370 Год назад
@Code Like Pro Apologize, found the issue. it was the / at the end of client URL . I just did a thourough investigation on the headers part. Finally!!! God Bless You Sir Always!!!!
@mreasy2370
@mreasy2370 Год назад
Sir. Where did you get the JWT you put in Heroku?
@CodeLikePro22
@CodeLikePro22 Год назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2nfaSvzhU2w.html
@erlanggadewasakti
@erlanggadewasakti Год назад
Does it provides a database such as postgree / mysql?
@CodeLikePro22
@CodeLikePro22 Год назад
I am not sure. You can contact them directly on their website
@wangda2572
@wangda2572 Год назад
good project thankyou , but i now use in react18 can you handle this question in all useEffect(() => { src\components\user\UserMenu.js Line 64:6: React Hook useEffect has missing dependencies: 'addedImages', 'currentUser.id', 'deletedImages', and 'updatedRoom'. Either include them or remove the dependency array react-hooks/exhaustive-deps src\hooks\useCheckToken.js Line 1:8: 'React' is defined but never used no-unused-vars Line 36:6: React Hook useEffect has missing dependencies: 'addedImages', 'currentUser', 'deletedImages', 'details', 'dispatch', 'images', 'location', and 'updatedRoom'. Either include them or remove the dependency array react-hooks/exhaustive-deps src\pages\dashboard\main\Main.js Line 30:6: React Hook useEffect has missing dependencies: 'currentUser', 'dispatch', 'link', 'rooms.length', 'setSelectedLink', and 'users.length'. Either include them or remove the dependency array. If 'setSelectedLink' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps src\pages\dashboard\messages\Messages.js Line 6:6: React Hook useEffect has missing dependencies: 'link' and 'setSelectedLink'. Either include them or remove the dependency array. If 'setSelectedLink' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps src\pages\dashboard equests\Requests.js Line 6:6: React Hook useEffect has missing dependencies: 'link' and 'setSelectedLink'. Either include them or remove the dependency array. If 'setSelectedLink' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps src\pages\dashboard ooms\Rooms.js Line 22:6: React Hook useEffect has missing dependencies: 'rooms.length' and 'setSelectedLink'. Either include them or remove the dependency array. If 'setSelectedLink' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps src\pages\dashboard\users\Users.js Line 22:6: React Hook useEffect has missing dependencies: 'currentUser', 'dispatch', 'link', 'setSelectedLink', and 'users.length'. Either include them or remove the dependency array. If 'setSelectedLink' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps Line 68:5: React Hook useMemo has a missing dependency: 'currentUser?.role'. Either include it or remove the dependency array react-hooks/exhaustive-deps
@CodeLikePro22
@CodeLikePro22 Год назад
You can include them in the dependancies array but be careful not to add a state variable that you are going to set that state inside useEffect because this will create infinite loop
@wangda2572
@wangda2572 Год назад
@@CodeLikePro22 thankyou, have slove many,but have one this WARNING in [eslint] src\components\addRoom\AddRoom.js Line 53:9: The 'findUnfinished' function makes the dependencies of useEffect Hook (at line 90) change on every render. To fix this, wrap the definition of 'findUnfinished' in its own useCallback() Hook react-hooks/exhaustive-deps
@CodeLikePro22
@CodeLikePro22 Год назад
@@wangda2572 const findUnfinished = useCallback(() => { return steps.findIndex((step) => !step.completed); }, [steps]);
Далее
The iPhone 16 Is The Worst iPhone Ever Made
12:12
Просмотров 44 тыс.
Kubernetes ingress and ingress controller
31:17
Cursor Is Beating VS Code (...by forking it)
18:00
Просмотров 67 тыс.