VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
PERN Stack Course - Postgres, Express, React, and Node

PERN Stack Course - Postgres, Express, React, and Node

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn the PERN stack in this full tutorial course for beginners. The PERN stack consists of PostgreSQL, Express, React, and Node.js. Learn how to combine these technologies to build a full-stack web application! - Course developed by The Stoic Programmers. Check out their YouTube channel: https://www.youtube.com/channel/UCAPuqvFWmUg_gc_AZHUBPsA -Code: https://github.com/l0609890/pern-todo-app
Date: 2022-03-14

Comments and reviews: 10


the update replaces the description with -null- :(
app.put('/todos/:id',async(req, res) => --
try --
const -id-=req.params;-
const -description-=req.body-
const updated= await pool.query(-UPDATE todo SET description = $1 WHERE todo_id = $2-,[description,id])-
res.send(-Todo Updated-)-
- catch (error) --
--
-)

reply

When I write -node index- nothing happens, it does not return anything. It doesn't return anything in the cmd, too. Seems like -node- command only works when i write 'cd/C:/Program FIles/nodejs'. Does anyone know why, how, or how to fix it, even if I need to fix it? Do I need to change something?
reply

for those that are stuck trying to get a response in postman after sending a post request, you need to include -res.send(-your message-);-, after receiving the request. It seems like the post method does not automatically send back a response after a request is received.
reply

First of all, thank you for your effort. Second of all just as an advice - learn how to tab between apps. Looking for the moving mouse just to see whats behind an application is soooo distracting for pros )) and this win98 mouse sound distracts me even more. Thanks.
reply

To good to be true. It is so easy to do when you find someone like The Stoic Programmers teach it. You just see how easy it it and I think I will go with the PERN stack for some big project. Hope to learn how to connect Nextjs with Postgres. Thanks Guys!
reply

great tutorial! thanks man. Can anyone explain to me what the purpose of the -database.sql- file was for? It seems like we just copied all the commands on to the psql shell in the video, so is the file just for a reference?
reply

When I go into Visual Studio and try to create a new file, the VSC command line says: -Select a Language-. What should I put here? It's unclear in the video. BTW: Total novice here. Thanks.
reply

The Postman part was a bit of a curve ball since i dont know how it use it, got a bit discourage but continued watching and only realized that you wanted to set an example
reply

\conninfo Use this command line to confirm the port number, database name & user information. The default PostgreSQL port is 5432, but in some cases it can be different.
reply

This was amazing... I have been beating myself up on the CORS issue for days now. Was not aware you could just add the command when installing express. Thank you!!!
reply
Add a review, comment






Other channel videos