Firstly you should create a relation between in two define. Like a foreign key and if you want both table data, you should use "include" in data fetching. I have example repo, you can review it = github.com/MET-DEV/nasa-api Defines in models Include in routes > questionRouter > router.get
@@mustafaenestepe Oh my god. Thanks a lot!! I've been struggling with this a few weeks. I'm from argentina. I don't understand the video languaje but it helped me a lot! Good luck bro
Hi, and how should i do to make the connection between tables?
Firstly you should create a relation between in two define. Like a foreign key and if you want both table data, you should use "include" in data fetching.
I have example repo, you can review it = github.com/MET-DEV/nasa-api
Defines in models
Include in routes > questionRouter > router.get
@@mustafaenestepe Oh my god. Thanks a lot!! I've been struggling with this a few weeks. I'm from argentina. I don't understand the video languaje but it helped me a lot! Good luck bro
@@Tecladochino thanks
npm start hatası alıyorum sürekli,yardımcı olabilir misiniz?
Node kurmamış olabilirsiniz ya da package.json dosyasında yolu doğru vermemiş olabilirsiniz.
Ya da nodemon kurmamış olabilirsiniz