Dans le dossier /src :
api ===> we use codegen (automatic API call functions generation)
features
\
|- login
\
|- api
\
|- user
\
|- login.ts ===> caller, adapter
|- otherCall.ts
|- components ==> UI components specific to the feature
\
|- Component1.tsx
|- Component1.test.tsx
|- ...
|- pages ==> feature specific pages
|- services ==> utils or data tranform functions
fixturesTests.ts ==> data for testing (API call responses mocks)
|- register
|- homepage
|- search
libs
\
|- analytics
|- pushNotification
|- errorReporting
|- geolocation
|- ...
ui
\
|- components ===> independent components (reusables)
|- theme
|- assets