skip to Main Content

Model Logic In Laravel

I am working on the Laravel back-end and I have a some question. Can I put some logic methods to the the models? Get data in specific format, for example. And some like this: public function getAllWithObjects() { $all_photos =…

VIEW QUESTION

Javascript – Nodemailer won't send emails

I have a bug related to Nodemailer v. 6.9.3. When I launch nodeJS localhost, then this appears: Error: connect ECONNREFUSED 127.0.0.1:465 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) { errno: -111, code: 'ESOCKET', syscall: 'connect', address: '127.0.0.1', port: 465, command: 'CONN' }…

VIEW QUESTION

Reactjs – api/v1/register:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

when i try to default register a new user then i can't register it on website ,and it shows internal server error in and failed to load resource error in console . [enter image description here](https://i.stack.imgur.com/CFa17.png)[[[enter image description here](https://i.stack.imgur.com/QrSB2.png)](https://i.stack.imgur.com/CWlKT.png)](https://i.stack.imgur.com/OMAnc.png) please…

VIEW QUESTION
Back To Top
Search