Skip to content

AnnaClr/Simulador

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

o que falta:

  • testes

Endpoints da Api: [http://localhost:3000/api/simulador/substituicao] // tabela substituicaodecopasimulacao [http://localhost:3000/api/simulador/implantacao] // tabela implantacaocajueiroanaosimulacao

Arquitetura do projeto

SIMULADOR HUB CAJU EMBRAPA


🌐 Tecnologias Utilizadas

  • Frontend: React + Vite + TailwindCSS
  • Backend: Node.js + Express
  • Estilo: CSS Modularizado com suporte ao Tailwind
  • Dados: Planilhas .xlsx importadas e processadas no backend

πŸ—οΈ Estrutura de DiretΓ³rios

SIMULADOR
β”œβ”€β”€ backend
β”‚   β”œβ”€β”€ data/
β”‚   β”‚   β”œβ”€β”€ implantacaojeiroanoosimulacao.xlsx
β”‚   β”‚   └── substituicaodecopasimulacao.xlsx
β”‚   β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ server.js
β”‚   β”œβ”€β”€ package.json
β”‚   └── .gitignore
β”‚
β”œβ”€β”€ frontend
β”‚   β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   β”‚   └── react.svg
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”œβ”€β”€ Cards/
β”‚   β”‚   β”‚   β”œβ”€β”€ Charts/
β”‚   β”‚   β”‚   └── tables/
β”‚   β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”‚   β”œβ”€β”€ home/
β”‚   β”‚   β”‚   β”œβ”€β”€ first-simulation/
β”‚   β”‚   β”‚   └── second-simulation/
β”‚   β”‚   β”œβ”€β”€ services/
β”‚   β”‚   β”‚   └── util/
β”‚   β”‚   β”‚       β”œβ”€β”€ simulationData1.js
β”‚   β”‚   β”‚       └── simulationData2.js
β”‚   β”‚   β”œβ”€β”€ styles/
β”‚   β”‚   β”‚   β”œβ”€β”€ globals.css
β”‚   β”‚   β”‚   └── style.css
β”‚   β”‚   β”œβ”€β”€ App.jsx
β”‚   β”‚   └── main.jsx
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ vite.config.js
β”‚   β”œβ”€β”€ tailwind.config.js
β”‚   β”œβ”€β”€ eslint.config.js
β”‚   └── .gitignore

🧱 Estrutura Modular por Responsabilidade

🎨 Frontend

  • Organizado por domΓ­nio visual, com pastas como components, pages, services e styles. Isso se aproxima bastante das abordagens Atomic Design ou Feature-based Architecture.
  • HΓ‘ uma separaΓ§Γ£o clara entre:
    • Camadas de apresentaΓ§Γ£o β†’ pages/ e components/
    • LΓ³gica de negΓ³cio β†’ services/ e util/
  • Essa organizaΓ§Γ£o facilita a escalabilidade, a manutenibilidade do cΓ³digo e a colaboraΓ§Γ£o entre desenvolvedores.

πŸ› οΈ Backend

PadrΓ£o MVC

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •