Skip to content

codescouts-academy/frontend-architecture-course-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

36 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CodeScouts

πŸ—οΈ Frontend Architecture Course 🏭


Stars are welcome 😊 Report an error πŸ› Contact us πŸ€”

view - Documentation

maintained - yes contributions - welcome Clean - Architecture

πŸš€ Getting started

⬇️ Template downloading

npx degit codescouts-academy/curso-arquitectura-frontend#shop-vite my-app

πŸ‚ Install dependencies

npm i

🏁 Start

npm run dev

πŸ₯‹ Dependencies

  • πŸ§ͺ codescouts/test -> Jest & Vite mocking library easy to use
  • πŸ’‰ codescouts/di -> agnostic ependency injection container
  • ⚑️ codescouts/events -> agnostic library to create and handle domain events
  • πŸ›Ÿ codescouts/store -> reactive store to allow update ui from domain
  • πŸ‘©β€πŸ’» codescouts/ui -> components for events and di only for react

πŸ‘©β€πŸ’» Project explanation

πŸ“ Recommended folder structure


public/
β”œβ”€β”€ favicon.png --> CodeScouts's logo
β”‚
src/
β”œβ”€β”€ application/ Our use cases
β”œβ”€β”€ domain/ Our Business logic
β”‚   β”œβ”€β”€ events --> Here we model the domain events
β”‚   β”œβ”€β”€ model --> Here we model our business logic
β”‚   └── services --> Here exists the domain services (only abstractions)
β”‚
β”œβ”€β”€ infrastructure/ Our external services implementationsβ”‚
β”œβ”€β”€ ui/ React things
β”‚   β”œβ”€β”€ components/ --> stateless components
β”‚   └── pages/
β”‚
β”œβ”€β”€ App.tsx
β”œβ”€β”€ di.ts --> Dependency injection configuration
└── main.tsx --> Main component loaded, referenced in index.html

πŸ€” Contributing

Si encuentras algΓΊn error, crees que hay cosas por mejorar o simplemente quieres contribuir, eres bienvenido/a. Solo realiza un fork y envΓ­anos tu PR πŸ™.

LICENSE

Released under MIT by @codescouts-academy.

About

πŸ—οΈ Curso de arquitectura FrontEnd 🏭

Resources

License

Stars

Watchers

Forks