Flamengo-2019-frontend - React Ts
src
├── assets
│ ├── images
│ └── icons
├── components
├── context
├── middlewares
├── pages
├── routes
├── services
├── store
├── actions
├── constants
├── reducers
├── types
├── util
assets
: Used to store lightweight images (for heavy images, prefer using a CDN), icons, etc.
components
: Reusable components of the application. These are units for your application, like buttons, modals, etc.
context
: Maintains all the contexts of the application.
middlewares
:
pages
: The pages are what the user will see and where the components will be sumarized
services
: Contains the configurations for HTTP clients and connections for API's.
store
: Holds the definitions for state managers, context API, zustand, redux.
types
: Stores TypeScript typings (types and interfaces) that are common across various parts of the project.
utils
: Utility functions such as formatCurrency, formatPhone, convertTimezone, parsePhone, etc. (pure JavaScript).
Extra Features: