I'm trying to send a transaction using the a deployed smart contract, the same data of the transaction will be stocked in the database, I added this code in the transaction.controllers, but the web3 part doesn't work,I'm new in both React and web3.Any suggestions please ? (there is no returned errors, just the whole path localhost:3000/transaction disappears) and thank you !
xhr.js:210 POST http://localhost:3000/api/transaction 404 (Not Found)