This boilerplate is generated using Create React App with the Typescript preset and contains the libraries and guidelines defined by Intesys.
You can read the original README here
Basic folder structure:
build/dist/
public/
src/
assets/
// put here the static assets
config/
// configuration files
modules/
// one folder per module / container
shared/
// shared components and libraries
types/
// shared types definitions
// (local type definitions are allowed inline)
App.tsx
index.ts
routes.tsx
Module structure:
[moduleName]/
ContainerName.tsx
ContainerName.test.jsx
LocalComponentName.tsx
LocalComponentName.test.tsx
Modules follow the Duck convention.
Test: use Jest + Enzyme [ TODO: add details ]
This boilerplate includes the following libraries, that you should use for preference:
Used for async HTTP calls
Used for testing
Nodejs local api proxy with mocks and (optional) validation over openApi
In order to change page headers
For internationalization