Skip to content

lucasbailo/front-end-api-produtos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome an API Project - Front End! 👋

API Produtos!

Test the project yourself: Test the project here!!!

Create / Add a new Product

Create Item

Edit a product

Edit Item

Delete an item

Delete Item

Home Page

Crud image

Some code that I'm proud of

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)
        }))
}

Built with

You Can

  • Create Items;
  • Read a database;
  • Update items;
  • Delete items if you want.

Back-End repository: See Back-End!

Author

Releases

No releases published

Packages

No packages published