Yes, it is not a DB connection issue. No errors on the console.
Try running the GitHub clone with your Db username password.
How do you now connect it to a frontend login/signup page?
Hi Eugene,
You can simply call the API using axios or fetch to get data.
Here is a sample code snippet on how you can do it.
const config = { headers: { 'Content-Type': "application/json" } }; const formData = { input_username, input_passwrd }; const response = await axios.post('/user/login', formData, config);
I hope this answers your question.
It does, thanks!
Eugene, could you paste the full code oh how to link front end and back end and specify where it should be added
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes, it is not a DB connection issue. No errors on the console.
Try running the GitHub clone with your Db username password.
How do you now connect it to a frontend login/signup page?
Hi Eugene,
You can simply call the API using axios or fetch to get data.
Here is a sample code snippet on how you can do it.
I hope this answers your question.
It does, thanks!
Eugene, could you paste the full code oh how to link front end and back end and specify where it should be added