How judsonalex/estoque works
Estoque is a simple inventory-control application: users register products, search and edit the catalog, and record stock entries or withdrawals. The React frontend routes these workflows to an Express API, which uses Sequelize and SQLite for persistence. The README gives only a brief product description; the graph reflects the capabilities visible in the sampled frontend and backend. Some components are indexed but not excerpted, so their internal behavior and connections are omitted where not evidenced.
Main entry points: index.js Express API · Rotas.js Page routing · Pesquisa.js Product search · Move.js Stock movements
Components 15
Inventory UI
- React app
front/src/App.js - Page routing
front/src/Rotas.js - Stock dashboard
front/src/pages/dashboard/Dashboard.js - Product registration
front/src/pages/cadastro/Cadastro.js - Product search
front/src/pages/pesquisa/Pesquisa.js - Product table
front/src/components/produtos/Produto.js - Product editor
front/src/components/modal/ModalEdit.js - Stock movements
front/src/pages/movimentacoes/Move.js - Movement list
front/src/components/listagem/ListaProduto.js - Navigation menu
front/src/components/menu/Menu.js
Inventory API
- Express API
back/index.js - Database initializer
back/controllers/controler-produto.js
Product Storage
- Product model
back/models/produto.js - SQLite connection
back/configDB.js
Other components
- Inventory user
Connections 19
- Inventory user → React app: uses
- React app → Page routing: renders
front/src/App.js - Page routing → Stock dashboard: routes to
front/src/Rotas.js - Page routing → Product registration: routes to
front/src/Rotas.js - Page routing → Product search: routes to
front/src/Rotas.js - Page routing → Stock movements: routes to
front/src/Rotas.js - Page routing → Navigation menu: renders
front/src/Rotas.js - Product registration → Express API: posts products
front/src/pages/cadastro/Cadastro.js - Product search → Express API: queries products
front/src/pages/pesquisa/Pesquisa.js - Product search → Product table: renders results
front/src/pages/pesquisa/Pesquisa.js - Product table → Product editor: opens editor
front/src/components/produtos/Produto.js - Product editor → Express API: updates product
front/src/components/modal/ModalEdit.js - Stock movements → Express API: looks up product
front/src/pages/movimentacoes/Move.js - Stock movements → Movement list: renders items
front/src/pages/movimentacoes/Move.js - Movement list → Express API: submits movements
front/src/components/listagem/ListaProduto.js - Express API → Database initializer: initializes
back/index.js - Express API → Product model: queries and writes
back/index.js - Database initializer → SQLite connection: syncs schema
back/controllers/controler-produto.js - Product model → SQLite connection: defines model
back/models/produto.js