Test the project yourself: Test the project here!!!
const handleEdit = (id) => {
handleShow()
axios.get(`https://localhost:7284/api/ProdutoClass/${id}`)
.then((result) => {
setEditNome(result.data.nome)
setEditCusto(result.data.custo)
setEditVenda(result.data.venda)
setEditQuantidade(result.data.quantidade)
setEditIsActive(result.data.isActive)
setEditId(id)
})
.catch((error => {
console.log(error)
}))
}
React
Bootstrap
Ant Design
Toastify
- Create Items;
- Read a database;
- Update items;
- Delete items if you want.
Back-End repository: See Back-End!
- Website - My GitHub
- Frontend Mentor - @lucasbailo
- Instagram - @lucassbailo
- LinkedIn - Lucas Bailo