Database connection | Sololearn: Learn to code for FREE!

0

Database connection

HOW WOULD YOU CONNECT A DATABASE TO A REACT-BASED SITE? IVE TRIED NODE CONNECTIONS BUT THEY DON’T SEEM TO WORK. ANY SUGGESTIONS???

8/4/2020 4:46:28 PM

Abi

1 Answer

New Answer

+1

React cannot connect to database directly. It only can send data to backend using restapi, let backend handles data update to database.