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

  Рет қаралды 2,491

Code Like Pro

Code Like Pro

Күн бұрын

Пікірлер: 21
@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.
@crees6447
@crees6447 Жыл бұрын
Did not expect you'll add this one. Number one Subscriber here!!! Thank you so much/!!
@CodeLikePro22
@CodeLikePro22 Жыл бұрын
Thanks my friend🙏
@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!!!!
@vedantmodak4574
@vedantmodak4574 Жыл бұрын
GOAT youtuber. Thank you for this!
@CodeLikePro22
@CodeLikePro22 Жыл бұрын
You are very welcome my friend
@mreasy2370
@mreasy2370 Жыл бұрын
Where is your first part of uploading in netlify?
@CodeLikePro22
@CodeLikePro22 Жыл бұрын
kzbin.info/www/bejne/aJ_Jkoasr82IaNk
@arymansharma2841
@arymansharma2841 Жыл бұрын
can we do this as a main project for our placements.
@shadowfightwarriorsn97
@shadowfightwarriorsn97 3 ай бұрын
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 Жыл бұрын
Sir. Where did you get the JWT you put in Heroku?
@CodeLikePro22
@CodeLikePro22 Жыл бұрын
kzbin.info/www/bejne/aJ_Jkoasr82IaNk
@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]);
Hosting Springboot App on render.com
20:19
bobbyctchan
Рет қаралды 34 М.
Don't look down on anyone#devil  #lilith  #funny  #shorts
00:12
Devil Lilith
Рет қаралды 48 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 27 МЛН
Deploying an App to Fly.io | SvelteKit example app Dockerize and launch!
12:42
Are we going back to PHP with fullstack JavaScript?
9:57
Maximilian Schwarzmüller
Рет қаралды 147 М.
What is NPM, and why do we need it? | Tutorial for beginners
14:27
Coder Coder
Рет қаралды 323 М.
Deploying Angular Frontend to Netlify in Few Simple Steps | CI/CD with GitHub
8:44
Esther White {{ MonaCodeLisa }}
Рет қаралды 2,1 М.