Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.97 KB

README.md

File metadata and controls

35 lines (31 loc) · 1.97 KB

Fokjlenot v2

This is my first application with clean architecture pattern. I'm redoing an old project management application that I made 3 years ago. Feel free to update it and push it on new branch.

React Redux Javascript Typescript Testing library html sass

App structure (without framework)

src/
├── --tests--/  # tests
│   ├── e2e/  # tests end-to-end
│   ├── msw/  # mock des calls api
│   ├── usecases/  # tests d'intégration
|
├── domain/  # métier
│   ├── entities/ # interfaces des entités métier
│   ├── models/ # classes métiers
│   ├── usecases/ # fonctions métier qui appellent les slices redux
│   ...
│
├── infrastructure/  # gestion des données
│   ├── api/  # Styles de base pour tout le site
|   |   ├── axiosInstance.tsx # instance d'axios avec msw et sans
│   ├── auth/
│   │   ├── TokenRepositoryLocalStorage.ts  # gestion du localStorage avec authToken
│   ├── repositories/  # accès aux données
│   ├── store/  # store redux
│   │   ├── slices/ #slices redux
│   │       ├── index.ts # combineReducer
│   │       ├── ...
|   |   ├── index.ts # init du store et custom hooks redux pour types (useSelector et useDispatch)