├── 00-react ├── 01-previo │ └── readme.md ├── 02-base │ ├── 02-webpack-boiler │ │ ├── src │ │ │ ├── index.tsx │ │ │ └── styles.css │ │ └── .babelrc │ ├── 03-webpack-react │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 04-list-users │ │ ├── src │ │ │ └── styles.css │ │ └── .babelrc │ └── 05-list-refactor │ │ ├── src │ │ ├── styles.css │ │ └── model.ts │ │ └── .babelrc ├── 03-hooks │ ├── 00-boiler-plate │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 01-use-state │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 07-custom-hook │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 10-use-reducer │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 11-use-context │ │ ├── src │ │ │ └── styles.css │ │ └── .babelrc │ ├── 02-use-state-object │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 06-ajax-field-change │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 08-pure-component │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 12-set-state-func │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 13-async-closure │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 03-component-dom-onload │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 04-component-dom-unmount │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 05-component-update-render │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 09-pure-component-callback │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 14-use-ref-dom │ │ ├── .babelrc │ │ └── src │ │ │ ├── app.tsx │ │ │ └── styles.css │ └── 15-promise-unmounted │ │ ├── .babelrc │ │ └── src │ │ ├── app.tsx │ │ └── styles.css ├── 04-basico-app │ ├── 01-routing │ │ ├── src │ │ │ └── styles.css │ │ └── .babelrc │ ├── 02-login │ │ ├── src │ │ │ └── styles.css │ │ └── .babelrc │ ├── 03-list │ │ ├── src │ │ │ └── styles.css │ │ └── .babelrc │ ├── 04-detail │ │ ├── src │ │ │ └── styles.css │ │ └── .babelrc │ ├── 05-mui │ │ ├── src │ │ │ └── styles.css │ │ └── .babelrc │ ├── 00-boiler-plate │ │ ├── src │ │ │ ├── styles.css │ │ │ └── app.tsx │ │ └── .babelrc │ ├── 06-refactor │ │ ├── src │ │ │ ├── styles.css │ │ │ └── pages │ │ │ │ └── index.ts │ │ └── .babelrc │ └── 07-route-intercept │ │ ├── src │ │ ├── styles.css │ │ ├── auth │ │ │ └── index.ts │ │ └── pages │ │ │ └── index.ts │ │ └── .babelrc ├── 99-excercises │ └── 00-chat-hook │ │ ├── back │ │ ├── .env │ │ ├── .prettierrc │ │ └── src │ │ │ ├── env.constants.ts │ │ │ └── index.ts │ │ └── front │ │ └── .babelrc └── 05-arquitectura │ ├── 02-login-form │ ├── src │ │ ├── layouts │ │ │ └── index.ts │ │ ├── pods │ │ │ └── login │ │ │ │ └── index.ts │ │ ├── core │ │ │ └── router │ │ │ │ └── index.ts │ │ ├── scenes │ │ │ ├── employee.scene.tsx │ │ │ ├── employee-list.scene.tsx │ │ │ ├── index.ts │ │ │ └── submodule-list.scene.tsx │ │ └── app.tsx │ └── .babelrc │ ├── 04-theming │ ├── src │ │ ├── layouts │ │ │ └── index.ts │ │ ├── pods │ │ │ └── login │ │ │ │ └── index.ts │ │ ├── core │ │ │ ├── theme │ │ │ │ └── index.ts │ │ │ └── router │ │ │ │ └── index.ts │ │ └── scenes │ │ │ ├── employee.scene.tsx │ │ │ ├── employee-list.scene.tsx │ │ │ ├── index.ts │ │ │ └── submodule-list.scene.tsx │ └── .babelrc │ ├── 06-layout-app │ ├── src │ │ ├── common │ │ │ └── components │ │ │ │ ├── index.ts │ │ │ │ └── form │ │ │ │ └── index.ts │ │ ├── common-app │ │ │ └── auth │ │ │ │ ├── index.ts │ │ │ │ └── auth.vm.tsx │ │ ├── pods │ │ │ └── login │ │ │ │ └── index.ts │ │ ├── layouts │ │ │ └── index.ts │ │ ├── core │ │ │ ├── router │ │ │ │ └── index.ts │ │ │ └── theme │ │ │ │ └── index.ts │ │ └── scenes │ │ │ └── index.ts │ └── .babelrc │ ├── 08-table │ ├── src │ │ ├── common-app │ │ │ └── auth │ │ │ │ ├── index.ts │ │ │ │ └── auth.vm.tsx │ │ ├── pods │ │ │ ├── login │ │ │ │ └── index.ts │ │ │ ├── employee-list │ │ │ │ ├── api │ │ │ │ │ ├── index.ts │ │ │ │ │ └── employee-list.api-model.ts │ │ │ │ ├── index.ts │ │ │ │ └── employee-list.vm.tsx │ │ │ └── submodulelist │ │ │ │ └── index.ts │ │ ├── common │ │ │ └── components │ │ │ │ ├── form │ │ │ │ └── index.ts │ │ │ │ ├── dashboard │ │ │ │ ├── components │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ ├── layouts │ │ │ └── index.ts │ │ ├── core │ │ │ ├── router │ │ │ │ └── index.ts │ │ │ └── theme │ │ │ │ └── index.ts │ │ └── scenes │ │ │ └── index.ts │ └── .babelrc │ ├── 05-login-validation │ ├── src │ │ ├── common │ │ │ └── components │ │ │ │ ├── index.ts │ │ │ │ └── form │ │ │ │ └── index.ts │ │ ├── layouts │ │ │ └── index.ts │ │ ├── pods │ │ │ └── login │ │ │ │ └── index.ts │ │ ├── core │ │ │ ├── router │ │ │ │ └── index.ts │ │ │ └── theme │ │ │ │ └── index.ts │ │ └── scenes │ │ │ ├── employee.scene.tsx │ │ │ ├── employee-list.scene.tsx │ │ │ ├── index.ts │ │ │ └── submodule-list.scene.tsx │ └── .babelrc │ ├── 07-dashboard │ ├── src │ │ ├── common-app │ │ │ └── auth │ │ │ │ ├── index.ts │ │ │ │ └── auth.vm.tsx │ │ ├── pods │ │ │ ├── login │ │ │ │ └── index.ts │ │ │ └── submodulelist │ │ │ │ └── index.ts │ │ ├── common │ │ │ └── components │ │ │ │ ├── form │ │ │ │ └── index.ts │ │ │ │ ├── dashboard │ │ │ │ ├── components │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ ├── layouts │ │ │ └── index.ts │ │ ├── core │ │ │ ├── theme │ │ │ │ └── index.ts │ │ │ └── router │ │ │ │ └── index.ts │ │ └── scenes │ │ │ └── index.ts │ └── .babelrc │ ├── 03-login-form-functionallity │ ├── src │ │ ├── layouts │ │ │ └── index.ts │ │ ├── pods │ │ │ └── login │ │ │ │ └── index.ts │ │ ├── core │ │ │ └── router │ │ │ │ └── index.ts │ │ ├── scenes │ │ │ ├── employee.scene.tsx │ │ │ ├── employee-list.scene.tsx │ │ │ ├── index.ts │ │ │ └── submodule-list.scene.tsx │ │ └── app.tsx │ └── .babelrc │ ├── 01-routing │ ├── src │ │ ├── core │ │ │ └── router │ │ │ │ └── index.ts │ │ ├── scenes │ │ │ ├── employee.scene.tsx │ │ │ ├── login.scene.tsx │ │ │ ├── employee-list.scene.tsx │ │ │ ├── index.ts │ │ │ └── submodule-list.scene.tsx │ │ └── app.tsx │ └── .babelrc │ └── 00-boilerplate │ ├── .babelrc │ └── src │ └── app.tsx ├── README.md ├── 01-rest-api ├── 02-auth │ ├── 01-headers │ │ ├── front │ │ │ ├── dev.env │ │ │ ├── src │ │ │ │ ├── common │ │ │ │ │ ├── mappers │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── collection │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ ├── form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── text-field │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── snackbar │ │ │ │ │ │ └── index.ts │ │ │ │ ├── pods │ │ │ │ │ ├── list │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── list.api-model.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── login │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── api │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── login.api-model.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ └── index.ts │ │ │ │ ├── common-app │ │ │ │ │ ├── app-bar │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── auth │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── auth.vm.ts │ │ │ │ ├── scenes │ │ │ │ │ └── index.ts │ │ │ │ ├── core │ │ │ │ │ ├── api │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── api.constants.ts │ │ │ │ │ ├── router │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── theme │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── theme.ts │ │ │ │ ├── layouts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── app.layout.styles.ts │ │ │ │ └── index.tsx │ │ │ ├── .prettierrc │ │ │ ├── .babelrc │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ └── config │ │ │ │ └── webpack │ │ │ │ └── helpers.js │ │ └── back │ │ │ ├── src │ │ │ ├── pods │ │ │ │ ├── order │ │ │ │ │ ├── index.ts │ │ │ │ │ └── order.api-model.ts │ │ │ │ ├── client │ │ │ │ │ ├── index.ts │ │ │ │ │ └── client.api-model.ts │ │ │ │ └── security │ │ │ │ │ ├── security.constants.ts │ │ │ │ │ └── index.ts │ │ │ ├── core │ │ │ │ ├── servers │ │ │ │ │ ├── index.ts │ │ │ │ │ └── express.server.ts │ │ │ │ └── constants │ │ │ │ │ ├── header.constants.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── api-route.constants.ts │ │ │ └── index.ts │ │ │ ├── .prettierrc │ │ │ ├── .env │ │ │ ├── .gitignore │ │ │ └── .editorconfig │ ├── 02-cookies │ │ ├── front │ │ │ ├── dev.env │ │ │ ├── src │ │ │ │ ├── common │ │ │ │ │ ├── mappers │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── collection │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ ├── form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── text-field │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── snackbar │ │ │ │ │ │ └── index.ts │ │ │ │ ├── core │ │ │ │ │ ├── api │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── api.constants.ts │ │ │ │ │ ├── router │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── theme │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── theme.ts │ │ │ │ ├── pods │ │ │ │ │ ├── list │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── list.api-model.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── login │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── api │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── login.api-model.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ └── index.ts │ │ │ │ ├── common-app │ │ │ │ │ ├── app-bar │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── auth │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── auth.vm.ts │ │ │ │ ├── scenes │ │ │ │ │ └── index.ts │ │ │ │ ├── layouts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── app.layout.styles.ts │ │ │ │ └── index.tsx │ │ │ ├── .prettierrc │ │ │ ├── .babelrc │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ └── config │ │ │ │ └── webpack │ │ │ │ └── helpers.js │ │ └── back │ │ │ ├── src │ │ │ ├── pods │ │ │ │ ├── order │ │ │ │ │ ├── index.ts │ │ │ │ │ └── order.api-model.ts │ │ │ │ ├── client │ │ │ │ │ ├── index.ts │ │ │ │ │ └── client.api-model.ts │ │ │ │ └── security │ │ │ │ │ └── index.ts │ │ │ ├── core │ │ │ │ ├── servers │ │ │ │ │ └── index.ts │ │ │ │ └── constants │ │ │ │ │ ├── header.constants.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── api-route.constants.ts │ │ │ └── index.ts │ │ │ ├── .prettierrc │ │ │ ├── .env │ │ │ ├── .gitignore │ │ │ └── .editorconfig │ ├── 03-storage │ │ ├── front │ │ │ ├── dev.env │ │ │ ├── src │ │ │ │ ├── common │ │ │ │ │ ├── mappers │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── collection │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ ├── form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── text-field │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── snackbar │ │ │ │ │ │ └── index.ts │ │ │ │ ├── pods │ │ │ │ │ ├── list │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── list.api-model.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── login │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── api │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── login.api-model.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ └── index.ts │ │ │ │ ├── common-app │ │ │ │ │ ├── app-bar │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── auth │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── auth.vm.ts │ │ │ │ ├── scenes │ │ │ │ │ └── index.ts │ │ │ │ ├── core │ │ │ │ │ ├── router │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── theme │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── theme.ts │ │ │ │ │ └── api │ │ │ │ │ │ ├── api.constants.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── layouts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── app.layout.styles.ts │ │ │ │ └── index.tsx │ │ │ ├── .prettierrc │ │ │ ├── .babelrc │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ └── config │ │ │ │ └── webpack │ │ │ │ └── helpers.js │ │ └── back │ │ │ ├── src │ │ │ ├── pods │ │ │ │ ├── order │ │ │ │ │ ├── index.ts │ │ │ │ │ └── order.api-model.ts │ │ │ │ ├── client │ │ │ │ │ ├── index.ts │ │ │ │ │ └── client.api-model.ts │ │ │ │ └── security │ │ │ │ │ ├── security.constants.ts │ │ │ │ │ └── index.ts │ │ │ ├── core │ │ │ │ ├── servers │ │ │ │ │ ├── index.ts │ │ │ │ │ └── express.server.ts │ │ │ │ └── constants │ │ │ │ │ ├── header.constants.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── api-route.constants.ts │ │ │ └── index.ts │ │ │ ├── .prettierrc │ │ │ ├── .env │ │ │ ├── .gitignore │ │ │ └── .editorconfig │ ├── 04-boilerplate │ │ ├── front │ │ │ ├── dev.env │ │ │ ├── src │ │ │ │ ├── common │ │ │ │ │ ├── mappers │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── collection │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ ├── form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── text-field │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── snackbar │ │ │ │ │ │ └── index.ts │ │ │ │ ├── pods │ │ │ │ │ ├── list │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── list.api-model.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── login │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── api │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── login.api-model.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ └── index.ts │ │ │ │ ├── common-app │ │ │ │ │ ├── app-bar │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── auth │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── auth.vm.ts │ │ │ │ ├── scenes │ │ │ │ │ └── index.ts │ │ │ │ ├── core │ │ │ │ │ ├── api │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── api.constants.ts │ │ │ │ │ ├── router │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── theme │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── theme.ts │ │ │ │ ├── layouts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── app.layout.styles.ts │ │ │ │ └── index.tsx │ │ │ ├── .prettierrc │ │ │ ├── .babelrc │ │ │ ├── .gitignore │ │ │ └── config │ │ │ │ └── webpack │ │ │ │ └── helpers.js │ │ └── back │ │ │ ├── src │ │ │ ├── pods │ │ │ │ ├── client │ │ │ │ │ ├── index.ts │ │ │ │ │ └── client.api-model.ts │ │ │ │ ├── order │ │ │ │ │ ├── index.ts │ │ │ │ │ └── order.api-model.ts │ │ │ │ └── security │ │ │ │ │ ├── security.constants.ts │ │ │ │ │ └── index.ts │ │ │ ├── core │ │ │ │ ├── servers │ │ │ │ │ ├── index.ts │ │ │ │ │ └── express.server.ts │ │ │ │ └── constants │ │ │ │ │ ├── header.constants.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── api-route.constants.ts │ │ │ └── index.ts │ │ │ ├── .prettierrc │ │ │ ├── .env │ │ │ └── .gitignore │ ├── 05-login-app-headers │ │ ├── front │ │ │ ├── dev.env │ │ │ ├── src │ │ │ │ ├── common │ │ │ │ │ ├── mappers │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── collection │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ ├── form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── text-field │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── pods │ │ │ │ │ ├── list │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── list.api-model.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── login │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── api │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── login.api-model.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ └── index.ts │ │ │ │ ├── common-app │ │ │ │ │ ├── app-bar │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── auth │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── auth.vm.ts │ │ │ │ ├── scenes │ │ │ │ │ └── index.ts │ │ │ │ ├── core │ │ │ │ │ ├── api │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── api.constants.ts │ │ │ │ │ ├── router │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── theme │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── theme.ts │ │ │ │ ├── layouts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── app.layout.styles.ts │ │ │ │ └── index.tsx │ │ │ └── .prettierrc │ │ └── back │ │ │ ├── src │ │ │ ├── pods │ │ │ │ ├── order │ │ │ │ │ ├── index.ts │ │ │ │ │ └── order.api-model.ts │ │ │ │ ├── client │ │ │ │ │ ├── index.ts │ │ │ │ │ └── client.api-model.ts │ │ │ │ └── security │ │ │ │ │ ├── security.constants.ts │ │ │ │ │ └── index.ts │ │ │ ├── core │ │ │ │ ├── servers │ │ │ │ │ └── index.ts │ │ │ │ └── constants │ │ │ │ │ ├── header.constants.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── api-route.constants.ts │ │ │ └── index.ts │ │ │ ├── .prettierrc │ │ │ ├── .env │ │ │ └── .gitignore │ └── 06-login-app-cookies │ │ ├── front │ │ ├── dev.env │ │ ├── src │ │ │ ├── common │ │ │ │ ├── mappers │ │ │ │ │ ├── index.ts │ │ │ │ │ └── collection │ │ │ │ │ │ └── index.ts │ │ │ │ └── components │ │ │ │ │ ├── form │ │ │ │ │ ├── index.ts │ │ │ │ │ └── text-field │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── core │ │ │ │ ├── api │ │ │ │ │ ├── index.ts │ │ │ │ │ └── api.constants.ts │ │ │ │ ├── router │ │ │ │ │ └── index.ts │ │ │ │ └── theme │ │ │ │ │ ├── index.ts │ │ │ │ │ └── theme.ts │ │ │ ├── pods │ │ │ │ ├── list │ │ │ │ │ ├── api │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── list.api-model.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── index.ts │ │ │ │ └── login │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── api │ │ │ │ │ ├── index.ts │ │ │ │ │ └── login.api-model.ts │ │ │ │ │ └── components │ │ │ │ │ └── index.ts │ │ │ ├── common-app │ │ │ │ ├── app-bar │ │ │ │ │ ├── api │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ └── auth │ │ │ │ │ ├── index.ts │ │ │ │ │ └── auth.vm.ts │ │ │ ├── scenes │ │ │ │ └── index.ts │ │ │ ├── layouts │ │ │ │ ├── index.ts │ │ │ │ └── app.layout.styles.ts │ │ │ └── index.tsx │ │ └── .prettierrc │ │ └── back │ │ ├── src │ │ ├── pods │ │ │ ├── order │ │ │ │ ├── index.ts │ │ │ │ └── order.api-model.ts │ │ │ ├── client │ │ │ │ ├── index.ts │ │ │ │ └── client.api-model.ts │ │ │ └── security │ │ │ │ └── index.ts │ │ ├── core │ │ │ ├── servers │ │ │ │ └── index.ts │ │ │ └── constants │ │ │ │ ├── header.constants.ts │ │ │ │ ├── index.ts │ │ │ │ └── api-route.constants.ts │ │ └── index.ts │ │ ├── .prettierrc │ │ ├── .env │ │ └── .gitignore ├── 01-concepts │ ├── 01-crud │ │ ├── src │ │ │ ├── common │ │ │ │ ├── models │ │ │ │ │ ├── index.ts │ │ │ │ │ └── lookup.ts │ │ │ │ ├── components │ │ │ │ │ ├── index.ts │ │ │ │ │ └── form │ │ │ │ │ │ ├── select │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── text-field │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── index.ts │ │ │ │ └── mappers │ │ │ │ │ ├── index.ts │ │ │ │ │ └── collection.mapper.ts │ │ │ ├── pods │ │ │ │ ├── hotel │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── api │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── hotel.styles.ts │ │ │ │ └── hotel-collection │ │ │ │ │ ├── index.ts │ │ │ │ │ └── api │ │ │ │ │ └── index.ts │ │ │ ├── core │ │ │ │ ├── router │ │ │ │ │ └── index.ts │ │ │ │ └── theme │ │ │ │ │ ├── index.ts │ │ │ │ │ └── theme.ts │ │ │ ├── layouts │ │ │ │ ├── index.ts │ │ │ │ └── app.layout.styles.ts │ │ │ ├── scenes │ │ │ │ └── index.ts │ │ │ └── index.tsx │ │ ├── server │ │ │ ├── config │ │ │ │ └── routes.json │ │ │ └── public │ │ │ │ └── thumbnails │ │ │ │ ├── 11133_169_t.jpg │ │ │ │ ├── 16673_260_t.jpg │ │ │ │ ├── 16950_158_t.jpg │ │ │ │ ├── 19023_103_t.jpg │ │ │ │ ├── 25290_88_t.jpg │ │ │ │ ├── 284304_50_t.jpg │ │ │ │ ├── 28647_30_t.jpg │ │ │ │ ├── 50947_264_t.jpg │ │ │ │ ├── 62800_122_t.jpg │ │ │ │ ├── new-hotel.jpg │ │ │ │ └── 3445681_43_t.jpg │ │ ├── dev.env │ │ ├── .prettierrc │ │ ├── .gitignore │ │ ├── .babelrc │ │ ├── .editorconfig │ │ └── config │ │ │ └── webpack │ │ │ └── helpers.js │ └── 00-boilerplate │ │ ├── server │ │ ├── config │ │ │ └── routes.json │ │ └── public │ │ │ └── thumbnails │ │ │ ├── new-hotel.jpg │ │ │ ├── 11133_169_t.jpg │ │ │ ├── 16673_260_t.jpg │ │ │ ├── 16950_158_t.jpg │ │ │ ├── 19023_103_t.jpg │ │ │ ├── 25290_88_t.jpg │ │ │ ├── 284304_50_t.jpg │ │ │ ├── 28647_30_t.jpg │ │ │ ├── 50947_264_t.jpg │ │ │ ├── 62800_122_t.jpg │ │ │ └── 3445681_43_t.jpg │ │ ├── src │ │ ├── common │ │ │ ├── components │ │ │ │ ├── index.ts │ │ │ │ └── form │ │ │ │ │ ├── select │ │ │ │ │ └── index.ts │ │ │ │ │ ├── text-field │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── models │ │ │ │ └── index.ts │ │ │ └── mappers │ │ │ │ ├── index.ts │ │ │ │ └── collection.mapper.ts │ │ ├── pods │ │ │ ├── hotel │ │ │ │ ├── index.ts │ │ │ │ ├── api │ │ │ │ │ └── index.ts │ │ │ │ └── hotel.styles.ts │ │ │ └── hotel-collection │ │ │ │ ├── index.ts │ │ │ │ └── api │ │ │ │ └── index.ts │ │ ├── core │ │ │ ├── router │ │ │ │ └── index.ts │ │ │ └── theme │ │ │ │ ├── index.ts │ │ │ │ └── theme.ts │ │ ├── layouts │ │ │ ├── index.ts │ │ │ └── app.layout.styles.ts │ │ ├── scenes │ │ │ └── index.ts │ │ └── index.tsx │ │ ├── dev.env │ │ ├── .prettierrc │ │ ├── .gitignore │ │ ├── .babelrc │ │ └── config │ │ └── webpack │ │ └── helpers.js └── 03-axios-interceptors │ ├── .prettierrc │ ├── src │ ├── core │ │ └── router │ │ │ ├── index.ts │ │ │ └── router.history.ts │ ├── scenes │ │ └── detail.scene.tsx │ └── pods │ │ ├── facebook-members-list │ │ └── api │ │ │ └── api.model.ts │ │ └── lemoncode-members-list │ │ └── api │ │ └── api.model.ts │ ├── .babelrc │ └── .editorconfig ├── .gitignore └── 02-testing ├── 05-real-project └── 00-boilerplate │ ├── global.types.d.ts │ ├── src │ ├── common │ │ ├── models │ │ │ └── index.ts │ │ ├── constants │ │ │ └── index.ts │ │ ├── hooks │ │ │ └── index.ts │ │ ├── test │ │ │ └── index.ts │ │ ├── mappers │ │ │ └── index.ts │ │ ├── components │ │ │ ├── footer │ │ │ │ ├── index.ts │ │ │ │ └── components │ │ │ │ │ └── index.ts │ │ │ ├── spinner │ │ │ │ └── index.ts │ │ │ ├── form │ │ │ │ ├── checkbox │ │ │ │ │ └── index.ts │ │ │ │ ├── select │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ ├── pagination │ │ │ │ └── index.ts │ │ │ ├── dashboard │ │ │ │ ├── components │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ ├── search-bar │ │ │ │ └── index.ts │ │ │ ├── confirmation-dialog │ │ │ │ └── index.ts │ │ │ └── tabs │ │ │ │ └── index.ts │ │ └── helpers │ │ │ └── index.ts │ ├── pods │ │ ├── employee │ │ │ ├── api │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── components │ │ │ │ └── index.ts │ │ ├── login │ │ │ ├── index.ts │ │ │ └── components │ │ │ │ └── index.ts │ │ ├── project │ │ │ ├── api │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── components │ │ │ │ └── index.ts │ │ ├── employee-list │ │ │ ├── api │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ ├── components │ │ │ │ └── index.ts │ │ │ └── employee-list.vm.ts │ │ ├── project-list │ │ │ ├── api │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── components │ │ │ │ └── index.ts │ │ └── submodule-list │ │ │ └── index.ts │ ├── common-app │ │ ├── app-bar │ │ │ ├── index.ts │ │ │ └── components │ │ │ │ ├── index.ts │ │ │ │ └── side-list.styles.ts │ │ ├── command-footer │ │ │ ├── index.ts │ │ │ └── translations │ │ │ │ ├── index.ts │ │ │ │ ├── keys.ts │ │ │ │ ├── en.ts │ │ │ │ └── es.ts │ │ └── auth │ │ │ ├── index.ts │ │ │ └── auth.vm.ts │ ├── core │ │ ├── router │ │ │ └── index.ts │ │ └── theme │ │ │ └── index.ts │ ├── layouts │ │ └── index.ts │ ├── assets │ │ └── favicon.ico │ └── index.tsx │ ├── prod.env │ ├── dev.env │ ├── .prettierrc │ ├── config │ └── test │ │ └── setup-after.ts │ ├── .babelrc │ └── .gitignore ├── 01-base ├── 03-debug │ ├── src │ │ ├── business │ │ │ ├── index.ts │ │ │ └── calculator.business.ts │ │ ├── second.spec.ts │ │ ├── app.tsx │ │ └── index.tsx │ ├── .prettierrc │ ├── config │ │ ├── test │ │ │ └── jest.js │ │ └── webpack │ │ │ └── helpers.js │ ├── .babelrc │ ├── readme-resources │ │ ├── 02-debug.gif │ │ └── 01-add-launch.json.png │ ├── .gitignore │ └── .editorconfig ├── 02-calculator │ ├── src │ │ ├── business │ │ │ ├── index.ts │ │ │ └── calculator.business.ts │ │ ├── app.tsx │ │ └── index.tsx │ ├── .prettierrc │ ├── config │ │ ├── test │ │ │ └── jest.js │ │ └── webpack │ │ │ └── helpers.js │ ├── .babelrc │ ├── .gitignore │ └── .editorconfig ├── 01-config │ ├── config │ │ ├── test │ │ │ └── jest.js │ │ └── webpack │ │ │ └── helpers.js │ ├── .prettierrc │ ├── .babelrc │ ├── src │ │ ├── app.tsx │ │ └── index.tsx │ ├── .gitignore │ └── .editorconfig ├── 04-tdd │ ├── .prettierrc │ ├── src │ │ ├── api-model.ts │ │ ├── view-model.ts │ │ └── index.tsx │ ├── config │ │ ├── test │ │ │ └── jest.js │ │ └── webpack │ │ │ └── helpers.js │ ├── .babelrc │ ├── .gitignore │ └── .editorconfig ├── 05-async │ ├── .prettierrc │ ├── src │ │ ├── api-model.ts │ │ ├── view-model.ts │ │ └── index.tsx │ ├── config │ │ ├── test │ │ │ └── jest.js │ │ └── webpack │ │ │ └── helpers.js │ ├── .babelrc │ ├── .gitignore │ └── .editorconfig └── 00-boilerplate │ ├── .prettierrc │ ├── .babelrc │ ├── src │ ├── app.tsx │ └── index.tsx │ ├── .gitignore │ ├── config │ └── webpack │ │ └── helpers.js │ └── .editorconfig ├── 04-ci ├── src │ ├── model.ts │ ├── app.tsx │ └── index.tsx ├── .prettierrc ├── config │ ├── test │ │ └── setup-after.ts │ └── webpack │ │ └── helpers.js ├── .babelrc ├── .gitignore └── .editorconfig ├── 03-hooks ├── 06-use-context │ ├── src │ │ ├── model.ts │ │ ├── app.tsx │ │ └── index.tsx │ ├── .prettierrc │ ├── config │ │ ├── test │ │ │ └── setup-after.ts │ │ └── webpack │ │ │ └── helpers.js │ ├── .babelrc │ └── .gitignore ├── 02-use-state-object │ ├── src │ │ ├── model.ts │ │ ├── app.tsx │ │ └── index.tsx │ ├── .prettierrc │ ├── config │ │ └── test │ │ │ └── setup-after.ts │ ├── .babelrc │ └── .gitignore ├── 03-component-did-mount │ ├── src │ │ ├── model.ts │ │ ├── app.tsx │ │ └── index.tsx │ ├── .prettierrc │ ├── config │ │ └── test │ │ │ └── setup-after.ts │ ├── .babelrc │ └── .gitignore ├── 04-component-did-update │ ├── src │ │ ├── model.ts │ │ ├── app.tsx │ │ └── index.tsx │ ├── .prettierrc │ ├── config │ │ └── test │ │ │ └── setup-after.ts │ ├── .babelrc │ └── .gitignore ├── 05-component-unmount │ ├── src │ │ ├── model.ts │ │ ├── app.tsx │ │ └── index.tsx │ ├── .prettierrc │ ├── config │ │ └── test │ │ │ └── setup-after.ts │ ├── .babelrc │ └── .gitignore ├── 01-use-state │ ├── .prettierrc │ ├── config │ │ ├── test │ │ │ └── setup-after.ts │ │ └── webpack │ │ │ └── helpers.js │ ├── .babelrc │ ├── src │ │ ├── app.tsx │ │ └── index.tsx │ └── .gitignore └── 00-boilerplate │ ├── .prettierrc │ ├── config │ ├── test │ │ └── setup-after.ts │ └── webpack │ │ └── helpers.js │ ├── .babelrc │ ├── src │ ├── app.tsx │ └── index.tsx │ └── .gitignore └── 02-components ├── 01-hello ├── .prettierrc ├── config │ ├── test │ │ └── setup-after.ts │ └── webpack │ │ └── helpers.js ├── .babelrc ├── src │ ├── app.tsx │ └── index.tsx └── .gitignore ├── 04-fetch ├── .prettierrc ├── config │ ├── test │ │ └── setup-after.ts │ └── webpack │ │ └── helpers.js ├── .babelrc ├── .gitignore └── src │ └── index.tsx ├── 02-name-edit ├── .prettierrc ├── config │ └── test │ │ └── setup-after.ts ├── .babelrc ├── .gitignore └── src │ └── index.tsx ├── 05-router ├── .prettierrc ├── config │ ├── test │ │ └── setup-after.ts │ └── webpack │ │ └── helpers.js ├── .babelrc ├── .gitignore └── src │ └── index.tsx ├── 00-boilerplate ├── .prettierrc ├── config │ ├── test │ │ └── jest.js │ └── webpack │ │ └── helpers.js ├── .babelrc ├── src │ ├── app.tsx │ └── index.tsx └── .gitignore ├── 03-integration ├── .prettierrc ├── config │ └── test │ │ └── setup-after.ts ├── .babelrc ├── .gitignore └── src │ └── index.tsx └── 06-material-ui ├── .prettierrc ├── config └── test │ └── setup-after.ts ├── .babelrc ├── .gitignore └── src └── index.tsx /00-react/01-previo/readme.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # demos-react-v-2021 -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/dev.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/dev.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/dev.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/dev.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | package-lock.json 4 | .cache 5 | .awcache -------------------------------------------------------------------------------- /00-react/02-base/02-webpack-boiler/src/index.tsx: -------------------------------------------------------------------------------- 1 | console.log("Hello from JS"); 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/dev.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/dev.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | -------------------------------------------------------------------------------- /00-react/02-base/03-webpack-react/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/02-base/04-list-users/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/02-base/05-list-refactor/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/00-boiler-plate/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/01-use-state/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/07-custom-hook/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/10-use-reducer/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/11-use-context/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/04-basico-app/01-routing/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/04-basico-app/02-login/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/04-basico-app/03-list/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/04-basico-app/04-detail/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/04-basico-app/05-mui/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/99-excercises/00-chat-hook/back/.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | PORT=8081 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/common/models/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lookup'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/global.types.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.png'; 2 | -------------------------------------------------------------------------------- /00-react/02-base/02-webpack-boiler/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/02-use-state-object/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/06-ajax-field-change/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/08-pure-component/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/12-set-state-func/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/13-async-closure/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/04-basico-app/00-boiler-plate/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/04-basico-app/06-refactor/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/config/routes.json: -------------------------------------------------------------------------------- 1 | { 2 | "/api/*": "/$1" 3 | } 4 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/pods/order/index.ts: -------------------------------------------------------------------------------- 1 | export * from './order.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/src/pods/order/index.ts: -------------------------------------------------------------------------------- 1 | export * from './order.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/pods/order/index.ts: -------------------------------------------------------------------------------- 1 | export * from './order.api'; 2 | -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/src/business/index.ts: -------------------------------------------------------------------------------- 1 | export * from './calculator.business'; 2 | -------------------------------------------------------------------------------- /00-react/03-hooks/03-component-dom-onload/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/04-component-dom-unmount/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/04-basico-app/07-route-intercept/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/02-login-form/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./centered.layout"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/04-theming/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./centered.layout"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/04-theming/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.container"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/06-layout-app/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./form"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/common-app/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./auth.context"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.container"; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/config/routes.json: -------------------------------------------------------------------------------- 1 | { 2 | "/api/*": "/$1" 3 | } 4 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form'; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/common/models/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lookup'; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/pods/hotel/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hotel.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/pods/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from './client.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/common/mappers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/pods/list/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/pods/list/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/src/pods/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from './client.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/common/mappers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/core/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './api.constants'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/pods/list/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/pods/list/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/pods/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from './client.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/common/mappers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/pods/list/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/pods/list/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/pods/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from './client.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/pods/order/index.ts: -------------------------------------------------------------------------------- 1 | export * from './order.api'; 2 | -------------------------------------------------------------------------------- /02-testing/01-base/02-calculator/src/business/index.ts: -------------------------------------------------------------------------------- 1 | export * from './calculator.business'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/models/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lookup'; 2 | -------------------------------------------------------------------------------- /00-react/03-hooks/05-component-update-render/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/09-pure-component-callback/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/02-login-form/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.container"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./form"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/06-layout-app/src/common-app/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./auth.context"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/06-layout-app/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.container"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/common-app/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./auth.context"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.container"; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/pods/hotel/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hotel.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/common/mappers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection.mapper'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/core/servers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './express.server'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/src/core/servers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './express.server'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/core/servers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './express.server'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/core/servers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './express.server'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/common/mappers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/pods/list/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/pods/list/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/pods/order/index.ts: -------------------------------------------------------------------------------- 1 | export * from './order.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/src/pods/order/index.ts: -------------------------------------------------------------------------------- 1 | export * from './order.api'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './months'; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./centered.layout"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.container"; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/common/mappers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection.mapper'; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/dev.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | BASE_PICTURES_URL=http://localhost:3000 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/common-app/app-bar/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/pods/list/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './table.component' 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/common-app/app-bar/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/pods/list/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './table.component' 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/common-app/app-bar/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/pods/list/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './table.component' 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/pods/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from './client.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/common/mappers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/pods/list/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/pods/list/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/src/pods/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from './client.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/common/mappers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/core/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './api.constants'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/pods/list/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/pods/list/index.ts: -------------------------------------------------------------------------------- 1 | export * from './list.container'; 2 | -------------------------------------------------------------------------------- /02-testing/04-ci/src/model.ts: -------------------------------------------------------------------------------- 1 | export interface User { 2 | name: string; 3 | surname: string; 4 | } 5 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/prod.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=production 2 | GRAPHQL_URL=/graphql/employee 3 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/hooks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './debounce.hook'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/test/index.ts: -------------------------------------------------------------------------------- 1 | export * from './render-with-router'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/employee/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './employee.api'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.container'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/project/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './employee.api'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/project/index.ts: -------------------------------------------------------------------------------- 1 | export * from './project.container'; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/03-login-form-functionallity/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./centered.layout"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./text-field.component"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/pods/employee-list/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./employee-list.api"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/pods/employee-list/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./employee-list.container"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/pods/submodulelist/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./submodule-list.container"; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/common-app/app-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/common-app/app-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/common-app/app-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/common-app/app-bar/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/common-app/app-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/pods/list/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './table.component' 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/core/servers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './express.server'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/src/core/servers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './express.server'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/03-axios-interceptors/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5" 4 | } 5 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/mappers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection.mapper'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/employee/index.ts: -------------------------------------------------------------------------------- 1 | export * from './employee.container'; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/03-login-form-functionallity/src/pods/login/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.container"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/06-layout-app/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./text-field.component"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./text-field.component"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/pods/submodulelist/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./submodule-list.container"; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/dev.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | BASE_PICTURES_URL=http://localhost:3000 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/common/components/form/select/index.ts: -------------------------------------------------------------------------------- 1 | export * from './select.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/pods/hotel-collection/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hotel-collection.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/common/mappers/collection/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection.mappers'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/common/mappers/collection/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection.mappers'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/common/mappers/collection/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection.mappers'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/common-app/app-bar/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/pods/list/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './table.component' 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/common-app/app-bar/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.api'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/pods/list/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './table.component' 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common-app/app-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.component'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/employee-list/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './employee-list.api'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/project-list/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './project-list.api'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/project-list/index.ts: -------------------------------------------------------------------------------- 1 | export * from './project-list.container'; 2 | -------------------------------------------------------------------------------- /00-react/02-base/02-webpack-boiler/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript"] 3 | } 4 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/common/components/dashboard/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./item.component"; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/common/components/form/select/index.ts: -------------------------------------------------------------------------------- 1 | export * from './select.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/pods/hotel-collection/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hotel-collection.container'; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/common/components/form/text-field/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/pods/security/security.constants.ts: -------------------------------------------------------------------------------- 1 | export const jwtSignAlgorithm = 'HS256'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/pods/security/security.constants.ts: -------------------------------------------------------------------------------- 1 | export const jwtSignAlgorithm = 'HS256'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/common/mappers/collection/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection.mappers'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/common-app/app-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/common-app/app-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app-bar.component'; 2 | -------------------------------------------------------------------------------- /02-testing/04-ci/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/footer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './footer.component'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/spinner/index.ts: -------------------------------------------------------------------------------- 1 | export * from './spinner.component'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/employee-list/index.ts: -------------------------------------------------------------------------------- 1 | export * from './employee-list.container'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/submodule-list/index.ts: -------------------------------------------------------------------------------- 1 | export * from './submodule-list.container'; 2 | -------------------------------------------------------------------------------- /00-react/04-basico-app/07-route-intercept/src/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./authcontext"; 2 | export * from "./authroute"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./text-field.component"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/common/components/dashboard/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./item.component"; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./form"; 2 | export * from './dashboard'; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./centered.layout"; 2 | export * from "./app.layout"; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router.component'; 2 | export * from './routes'; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './centered.layout'; 2 | export * from './app.layout'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/common/components/form/text-field/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form'; 2 | export * from './snackbar'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.scene'; 2 | export * from './list.scene'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/common/components/form/text-field/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form'; 2 | export * from './snackbar'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.scene'; 2 | export * from './list.scene'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/common/components/form/text-field/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form'; 2 | export * from './snackbar'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.scene'; 2 | export * from './list.scene'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/pods/security/security.constants.ts: -------------------------------------------------------------------------------- 1 | export const jwtSignAlgorithm = 'HS256'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/common/mappers/collection/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection.mappers'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/common/mappers/collection/index.ts: -------------------------------------------------------------------------------- 1 | export * from './collection.mappers'; 2 | -------------------------------------------------------------------------------- /02-testing/01-base/01-config/config/test/jest.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | rootDir: '../../', 3 | preset: 'ts-jest', 4 | }; 5 | -------------------------------------------------------------------------------- /02-testing/03-hooks/06-use-context/src/model.ts: -------------------------------------------------------------------------------- 1 | export interface User { 2 | name: string; 3 | surname: string; 4 | } 5 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common-app/app-bar/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './side-menu.component'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common-app/command-footer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './command-footer.component'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/form/checkbox/index.ts: -------------------------------------------------------------------------------- 1 | export * from './checkbox.component'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/form/select/index.ts: -------------------------------------------------------------------------------- 1 | export * from './select.component'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/pagination/index.ts: -------------------------------------------------------------------------------- 1 | export * from './pagination.component'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/project-list/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './project-row.component'; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/06-layout-app/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./centered.layout"; 2 | export * from "./app.layout"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./form"; 2 | export * from './dashboard'; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./centered.layout"; 2 | export * from "./app.layout"; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/common/components/form/text-field/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router.component'; 2 | export * from './routes'; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './centered.layout'; 2 | export * from './app.layout'; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/pods/hotel/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hotel.api'; 2 | export * from './hotel.api-model'; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hotel-collection.scene'; 2 | export * from './hotel.scene'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/common-app/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth.context'; 2 | export * from './auth.vm'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/core/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './api.helpers'; 2 | export * from './api.constants'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router.component'; 2 | export * from './routes'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './centered.layout'; 2 | export * from './app.layout'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/common-app/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth.context'; 2 | export * from './auth.vm'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router.component'; 2 | export * from './routes'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './centered.layout'; 2 | export * from './app.layout'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/common-app/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth.context'; 2 | export * from './auth.vm'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router.component'; 2 | export * from './routes'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './centered.layout'; 2 | export * from './app.layout'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/common/components/form/text-field/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form'; 2 | export * from './snackbar'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.scene'; 2 | export * from './list.scene'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/pods/security/security.constants.ts: -------------------------------------------------------------------------------- 1 | export const jwtSignAlgorithm = 'HS256'; 2 | -------------------------------------------------------------------------------- /02-testing/01-base/01-config/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/01-base/04-tdd/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/01-base/05-async/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/02-use-state-object/src/model.ts: -------------------------------------------------------------------------------- 1 | export interface User { 2 | name: string; 3 | surname: string; 4 | } 5 | -------------------------------------------------------------------------------- /02-testing/03-hooks/03-component-did-mount/src/model.ts: -------------------------------------------------------------------------------- 1 | export interface User { 2 | name: string; 3 | surname: string; 4 | } 5 | -------------------------------------------------------------------------------- /02-testing/03-hooks/04-component-did-update/src/model.ts: -------------------------------------------------------------------------------- 1 | export interface User { 2 | name: string; 3 | surname: string; 4 | } 5 | -------------------------------------------------------------------------------- /02-testing/03-hooks/05-component-unmount/src/model.ts: -------------------------------------------------------------------------------- 1 | export interface User { 2 | name: string; 3 | surname: string; 4 | } 5 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/dev.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | GRAPHQL_URL=http://localhost:8081/graphql/employee 3 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/dashboard/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './item.component'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/footer/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './copyright.component'; 2 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/employee-list/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './employee-row.component'; 2 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/04-theming/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./theme-provider.component"; 2 | export * from "./theme"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./theme-provider.component"; 2 | export * from "./theme"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./router.component"; 2 | export { routes } from "./routes"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./theme-provider.component"; 2 | export * from "./theme"; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/pods/hotel/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hotel.api'; 2 | export * from './hotel.api-model'; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from './theme-provider.component'; 2 | export * from './theme'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/pods/login/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.api'; 2 | export * from './login.api-model'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from './theme-provider.component'; 2 | export * from './theme'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/pods/login/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.api'; 2 | export * from './login.api-model'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from './theme-provider.component'; 2 | export * from './theme'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/pods/login/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.api'; 2 | export * from './login.api-model'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/common-app/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth.context'; 2 | export * from './auth.vm'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/core/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './api.helpers'; 2 | export * from './api.constants'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router.component'; 2 | export * from './routes'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './centered.layout'; 2 | export * from './app.layout'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/common/components/form/text-field/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form'; 2 | export * from './snackbar'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.scene'; 2 | export * from './list.scene'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/common/components/form/text-field/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field.component'; 2 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/common/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form'; 2 | export * from './snackbar'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.scene'; 2 | export * from './list.scene'; 3 | -------------------------------------------------------------------------------- /01-rest-api/03-axios-interceptors/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router.history'; 2 | export * from './router.constants'; 3 | -------------------------------------------------------------------------------- /02-testing/01-base/00-boilerplate/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/01-base/02-calculator/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/02-components/01-hello/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/02-components/04-fetch/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/01-use-state/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/04-ci/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router.component'; 2 | export * from './routes'; 3 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app.layout'; 2 | export * from './centered.layout'; 3 | -------------------------------------------------------------------------------- /00-react/04-basico-app/06-refactor/src/pages/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login"; 2 | export * from "./list"; 3 | export * from "./detail"; 4 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/01-routing/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./router.component"; 2 | export { routes } from "./routes"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/02-login-form/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./router.component"; 2 | export { routes } from "./routes"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/04-theming/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./router.component"; 2 | export { routes } from "./routes"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/06-layout-app/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./router.component"; 2 | export { routes } from "./routes"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/06-layout-app/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./theme-provider.component"; 2 | export * from "./theme"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./router.component"; 2 | export { routes } from "./routes"; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hotel-collection.scene'; 2 | export * from './hotel.scene'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/pods/order/order.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Order { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/pods/security/index.ts: -------------------------------------------------------------------------------- 1 | export * from './security.api'; 2 | export * from './security.middlewares'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/src/pods/order/order.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Order { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/src/pods/security/index.ts: -------------------------------------------------------------------------------- 1 | export * from './security.api'; 2 | export * from './security.middlewares'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/pods/order/order.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Order { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/pods/security/index.ts: -------------------------------------------------------------------------------- 1 | export * from './security.api'; 2 | export * from './security.middlewares'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from './theme-provider.component'; 2 | export * from './theme'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/pods/login/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.api'; 2 | export * from './login.api-model'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/core/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './api.helpers'; 2 | export * from './api.constants'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router.component'; 2 | export * from './routes'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './centered.layout'; 2 | export * from './app.layout'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from './router.component'; 2 | export * from './routes'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './centered.layout'; 2 | export * from './app.layout'; 3 | -------------------------------------------------------------------------------- /02-testing/01-base/04-tdd/src/api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Member { 2 | id: number; 3 | login: string; 4 | avatar_url: string; 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/01-base/04-tdd/src/view-model.ts: -------------------------------------------------------------------------------- 1 | export interface Member { 2 | id: string; 3 | login: string; 4 | avatarUrl: string; 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/02-components/02-name-edit/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/02-components/05-router/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/00-boilerplate/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/06-use-context/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from './theme-provider.component'; 2 | export * from './theme'; 3 | -------------------------------------------------------------------------------- /00-react/04-basico-app/07-route-intercept/src/pages/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login"; 2 | export * from "./list"; 3 | export * from "./detail"; 4 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/01-routing/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/04-theming/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./router.component"; 2 | export { routes } from "./routes"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./theme-provider.component"; 2 | export * from "./theme"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /00-react/99-excercises/00-chat-hook/back/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/pods/client/client.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Client { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/core/api/api.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | }; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/pods/list/api/list.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Item { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/src/pods/client/client.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Client { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/core/api/api.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | }; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/pods/list/api/list.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Item { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/pods/client/client.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Client { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/core/api/api.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | }; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/pods/list/api/list.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Item { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/pods/order/order.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Order { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/pods/security/index.ts: -------------------------------------------------------------------------------- 1 | export * from './security.api'; 2 | export * from './security.middlewares'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/pods/list/api/list.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Item { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from './theme-provider.component'; 2 | export * from './theme'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/pods/login/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.api'; 2 | export * from './login.api-model'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from './theme-provider.component'; 2 | export * from './theme'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/pods/login/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login.api'; 2 | export * from './login.api-model'; 3 | -------------------------------------------------------------------------------- /01-rest-api/03-axios-interceptors/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /02-testing/01-base/05-async/src/api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Member { 2 | id: number; 3 | login: string; 4 | avatar_url: string; 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/01-base/05-async/src/view-model.ts: -------------------------------------------------------------------------------- 1 | export interface Member { 2 | id: string; 3 | login: string; 4 | avatarUrl: string; 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/02-components/00-boilerplate/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/02-components/03-integration/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/02-components/06-material-ui/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/02-use-state-object/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/03-component-did-mount/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/04-component-did-update/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/05-component-unmount/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /00-react/02-base/05-list-refactor/src/model.ts: -------------------------------------------------------------------------------- 1 | export interface MemberEntity { 2 | avatar_url: string; 3 | id: string; 4 | login: string; 5 | } 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/00-boilerplate/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/02-login-form/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/06-layout-app/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /00-react/99-excercises/00-chat-hook/front/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | PORT=8081 3 | TOKEN_AUTH_SECRET=MY_TOKEN_AUTH_SECRET 4 | ACCESS_TOKEN_EXPIRES_IN=1d 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/pods/login/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login-form.component'; 2 | export * from './card.component'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | PORT=8081 3 | TOKEN_AUTH_SECRET=MY_TOKEN_AUTH_SECRET 4 | ACCESS_TOKEN_EXPIRES_IN=1d 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/pods/login/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login-form.component'; 2 | export * from './card.component'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | PORT=8081 3 | TOKEN_AUTH_SECRET=MY_TOKEN_AUTH_SECRET 4 | ACCESS_TOKEN_EXPIRES_IN=1d 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/pods/login/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login-form.component'; 2 | export * from './card.component'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/pods/client/client.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Client { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/core/api/api.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | }; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/pods/order/order.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Order { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/pods/security/index.ts: -------------------------------------------------------------------------------- 1 | export * from './security.api'; 2 | export * from './security.middlewares'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/src/pods/order/order.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Order { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/src/pods/security/index.ts: -------------------------------------------------------------------------------- 1 | export * from './security.api'; 2 | export * from './security.middlewares'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "endOfLine": "lf" 5 | } 6 | -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/config/test/jest.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | rootDir: '../../', 3 | preset: 'ts-jest', 4 | restoreMocks: true, 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/01-base/04-tdd/config/test/jest.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | rootDir: '../../', 3 | preset: 'ts-jest', 4 | restoreMocks: true, 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/01-base/05-async/config/test/jest.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | rootDir: '../../', 3 | preset: 'ts-jest', 4 | restoreMocks: true, 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/01-use-state/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/helpers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './filter.helpers'; 2 | export * from './is-edit-mode.helper'; 3 | -------------------------------------------------------------------------------- /00-react/02-base/03-webpack-react/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const App = () => { 4 | return

Hello React !!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/03-hooks/00-boiler-plate/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const App = () => { 4 | return

Hello React !!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/03-login-form-functionallity/src/core/router/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./router.component"; 2 | export { routes } from "./routes"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | PORT=8081 3 | TOKEN_AUTH_SECRET=MY_TOKEN_AUTH_SECRET 4 | ACCESS_TOKEN_EXPIRES_IN=1d 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/pods/login/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login-form.component'; 2 | export * from './card.component'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/pods/client/client.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Client { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/core/api/api.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | }; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/pods/list/api/list.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Item { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/src/pods/client/client.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Client { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/core/api/api.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | }; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/pods/list/api/list.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Item { 2 | id: string; 3 | name: string; 4 | } 5 | -------------------------------------------------------------------------------- /02-testing/01-base/02-calculator/config/test/jest.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | rootDir: '../../', 3 | preset: 'ts-jest', 4 | restoreMocks: true, 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/02-components/01-hello/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/02-components/02-name-edit/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/02-components/04-fetch/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/02-components/05-router/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/03-hooks/00-boilerplate/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/03-hooks/06-use-context/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /00-react/04-basico-app/00-boiler-plate/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const App = () => { 4 | return

Hello React !!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/00-boilerplate/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const App = () => { 4 | return

Hello React !!

; 5 | }; 6 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/layouts/app.layout.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from 'emotion'; 2 | 3 | export const content = css` 4 | margin: 2rem; 5 | `; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/index.ts: -------------------------------------------------------------------------------- 1 | import 'regenerator-runtime/runtime'; 2 | import { config } from 'dotenv'; 3 | config(); 4 | require('./app'); 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/src/index.ts: -------------------------------------------------------------------------------- 1 | import 'regenerator-runtime/runtime'; 2 | import { config } from 'dotenv'; 3 | config(); 4 | require('./app'); 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/index.ts: -------------------------------------------------------------------------------- 1 | import 'regenerator-runtime/runtime'; 2 | import { config } from 'dotenv'; 3 | config(); 4 | require('./app'); 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | PORT=8081 3 | TOKEN_AUTH_SECRET=MY_TOKEN_AUTH_SECRET 4 | ACCESS_TOKEN_EXPIRES_IN=1d 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/pods/login/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login-form.component'; 2 | export * from './card.component'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | PORT=8081 3 | TOKEN_AUTH_SECRET=MY_TOKEN_AUTH_SECRET 4 | ACCESS_TOKEN_EXPIRES_IN=1d 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/pods/login/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './login-form.component'; 2 | export * from './card.component'; 3 | -------------------------------------------------------------------------------- /02-testing/02-components/03-integration/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/02-components/06-material-ui/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/03-hooks/02-use-state-object/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/03-hooks/03-component-did-mount/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/03-hooks/05-component-unmount/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/04-ci/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/dashboard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './dashboard.component'; 2 | export * from './dashboard.vm'; 3 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/login/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './container.component'; 2 | export * from './login-form.component'; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/03-login-form-functionallity/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@babel/preset-env", "@babel/preset-typescript", "@babel/preset-react"] 3 | } 4 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/pods/hotel-collection/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hotel-collection.api'; 2 | export * from './hotel-collection.api-model'; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/layouts/app.layout.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from 'emotion'; 2 | 3 | export const content = css` 4 | margin: 1rem; 5 | `; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/layouts/app.layout.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from 'emotion'; 2 | 3 | export const content = css` 4 | margin: 1rem; 5 | `; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/pods/login/api/login.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | firstname: string; 3 | lastname: string; 4 | } 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/core/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './api.helpers'; 2 | export * from './api.constants'; 3 | export * from './api.client'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/layouts/app.layout.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from 'emotion'; 2 | 3 | export const content = css` 4 | margin: 1rem; 5 | `; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/index.ts: -------------------------------------------------------------------------------- 1 | import 'regenerator-runtime/runtime'; 2 | import { config } from 'dotenv'; 3 | config(); 4 | require('./app'); 5 | -------------------------------------------------------------------------------- /02-testing/01-base/04-tdd/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/02-components/00-boilerplate/config/test/jest.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | rootDir: '../../', 3 | preset: 'ts-jest', 4 | restoreMocks: true, 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/04-component-did-update/config/test/setup-after.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom'; 2 | import '@testing-library/jest-dom/extend-expect'; 3 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/search-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './search-bar.component'; 2 | export * from './search-bar.hook'; 3 | -------------------------------------------------------------------------------- /00-react/02-base/04-list-users/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/01-use-state/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/04-basico-app/03-list/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/04-basico-app/05-mui/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/99-excercises/00-chat-hook/back/src/env.constants.ts: -------------------------------------------------------------------------------- 1 | export const envConstants = { 2 | NODE_ENV: process.env.NODE_ENV, 3 | PORT: process.env.PORT, 4 | }; 5 | -------------------------------------------------------------------------------- /00-react/99-excercises/00-chat-hook/back/src/index.ts: -------------------------------------------------------------------------------- 1 | import 'regenerator-runtime/runtime'; 2 | import { config } from 'dotenv'; 3 | 4 | config(); 5 | require('./app'); 6 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/layouts/app.layout.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from 'emotion'; 2 | 3 | export const content = css` 4 | margin: 2rem; 5 | `; 6 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/pods/hotel-collection/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hotel-collection.api'; 2 | export * from './hotel-collection.api-model'; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from './theme-provider.component'; 2 | export * from './theme'; 3 | export * from './theme.helpers'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/layouts/app.layout.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from 'emotion'; 2 | 3 | export const content = css` 4 | margin: 1rem; 5 | `; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/index.ts: -------------------------------------------------------------------------------- 1 | import 'regenerator-runtime/runtime'; 2 | import { config } from 'dotenv'; 3 | config(); 4 | require('./app'); 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/src/index.ts: -------------------------------------------------------------------------------- 1 | import 'regenerator-runtime/runtime'; 2 | import { config } from 'dotenv'; 3 | config(); 4 | require('./app'); 5 | -------------------------------------------------------------------------------- /01-rest-api/03-axios-interceptors/src/core/router/router.history.ts: -------------------------------------------------------------------------------- 1 | import { createHashHistory } from 'history'; 2 | 3 | export const history = createHashHistory(); 4 | -------------------------------------------------------------------------------- /02-testing/01-base/01-config/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/01-base/05-async/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common-app/command-footer/translations/index.ts: -------------------------------------------------------------------------------- 1 | export * from './keys'; 2 | export * from './en'; 3 | export * from './es'; 4 | -------------------------------------------------------------------------------- /00-react/02-base/03-webpack-react/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/02-base/05-list-refactor/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/00-boiler-plate/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/07-custom-hook/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/08-pure-component/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/10-use-reducer/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/11-use-context/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/12-set-state-func/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/13-async-closure/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/14-use-ref-dom/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/04-basico-app/01-routing/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/04-basico-app/02-login/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/04-basico-app/04-detail/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/04-basico-app/06-refactor/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/common/components/dashboard/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./dashboard.component"; 2 | export { DashboardItemProps } from "./dashboard.vm"; 3 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/common/components/dashboard/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./dashboard.component"; 2 | export { DashboardItemProps } from "./dashboard.vm"; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/core/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from './theme-provider.component'; 2 | export * from './theme'; 3 | export * from './theme.helpers'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/common-app/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth.context'; 2 | export * from './auth.vm'; 3 | export * from './auth.hooks'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/layouts/app.layout.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from 'emotion'; 2 | 3 | export const content = css` 4 | margin: 1rem; 5 | `; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/common-app/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth.context'; 2 | export * from './auth.vm'; 3 | export * from './auth.hooks'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/layouts/app.layout.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from 'emotion'; 2 | 3 | export const content = css` 4 | margin: 1rem; 5 | `; 6 | -------------------------------------------------------------------------------- /02-testing/01-base/00-boilerplate/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/01-base/02-calculator/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/readme-resources/02-debug.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/02-testing/01-base/03-debug/readme-resources/02-debug.gif -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/src/second.spec.ts: -------------------------------------------------------------------------------- 1 | describe('second specs', () => { 2 | it('should return true', () => { 3 | expect(true).toBeTruthy(); 4 | }); 5 | }); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/01-hello/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/02-components/04-fetch/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/02-components/05-router/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/03-hooks/00-boilerplate/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/03-hooks/01-use-state/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/03-hooks/06-use-context/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/04-ci/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/03-hooks/02-use-state-object/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/06-ajax-field-change/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/15-promise-unmounted/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/04-basico-app/00-boiler-plate/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/core/constants/header.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | bearer: 'Bearer', 4 | }; 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/core/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './env.constants'; 2 | export * from './header.constants'; 3 | export * from './api-route.constants'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/src/core/constants/header.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | bearer: 'Bearer', 4 | }; 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/src/core/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './env.constants'; 2 | export * from './header.constants'; 3 | export * from './api-route.constants'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/core/constants/header.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | bearer: 'Bearer', 4 | }; 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/core/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './env.constants'; 2 | export * from './header.constants'; 3 | export * from './api-route.constants'; 4 | -------------------------------------------------------------------------------- /02-testing/02-components/00-boilerplate/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/02-components/02-name-edit/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/02-components/03-integration/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/02-components/06-material-ui/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/03-hooks/02-use-state-object/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/03-hooks/05-component-unmount/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/01-use-state/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/03-component-dom-onload/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/04-component-dom-unmount/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/05-component-update-render/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/09-pure-component-callback/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/04-basico-app/07-route-intercept/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field'; 2 | export * from './select/select.component'; 3 | export * from './rating.component'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/pods/login/api/login.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | firstname: string; 3 | lastname: string; 4 | token: string; 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/pods/login/api/login.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | firstname: string; 3 | lastname: string; 4 | token: string; 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/core/constants/header.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | bearer: 'Bearer', 4 | }; 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/core/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './env.constants'; 2 | export * from './header.constants'; 3 | export * from './api-route.constants'; 4 | -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/03-component-did-mount/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/03-hooks/04-component-did-update/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /00-react/03-hooks/07-custom-hook/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/08-pure-component/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/10-use-reducer/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/12-set-state-func/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/13-async-closure/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/14-use-ref-dom/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/pods/login/api/login.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | firstname: string; 3 | lastname: string; 4 | token: string; 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/core/constants/header.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | bearer: 'Bearer', 4 | }; 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/core/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './env.constants'; 2 | export * from './header.constants'; 3 | export * from './api-route.constants'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/src/core/constants/header.constants.ts: -------------------------------------------------------------------------------- 1 | export const headerConstants = { 2 | authorization: 'authorization', 3 | bearer: 'Bearer', 4 | }; 5 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/src/core/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './env.constants'; 2 | export * from './header.constants'; 3 | export * from './api-route.constants'; 4 | -------------------------------------------------------------------------------- /02-testing/01-base/01-config/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/01-base/02-calculator/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/01-use-state/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/02-testing/05-real-project/00-boilerplate/src/assets/favicon.ico -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/confirmation-dialog/index.ts: -------------------------------------------------------------------------------- 1 | export * from './confirmation-dialog.component'; 2 | export * from './confirmation-dialog.hook'; 3 | -------------------------------------------------------------------------------- /00-react/03-hooks/02-use-state-object/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/06-ajax-field-change/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/15-promise-unmounted/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/01-routing/src/scenes/employee.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const EmployeeScene: React.FC = () => { 4 | return

Employee Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/04-theming/src/scenes/employee.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const EmployeeScene: React.FC = () => { 4 | return

Employee Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './text-field'; 2 | export * from './select/select.component'; 3 | export * from './rating.component'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/pods/login/api/login.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | firstname: string; 3 | lastname: string; 4 | token: string; 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/pods/login/api/login.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | firstname: string; 3 | lastname: string; 4 | token: string; 5 | } 6 | -------------------------------------------------------------------------------- /01-rest-api/03-axios-interceptors/src/scenes/detail.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export const DetalleScene: React.FC = () => { 4 | return

Hola Detalle Scene

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/01-base/00-boilerplate/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/readme-resources/01-add-launch.json.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/02-testing/01-base/03-debug/readme-resources/01-add-launch.json.png -------------------------------------------------------------------------------- /02-testing/02-components/01-hello/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/00-boilerplate/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/06-use-context/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common-app/app-bar/components/side-list.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from '@emotion/css'; 2 | 3 | export const list = css` 4 | width: 250px; 5 | `; 6 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/employee/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './data.component'; 2 | export * from './project.component'; 3 | export * from './report.component'; 4 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/project/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './data.component'; 2 | export * from './employee.component'; 3 | export * from './report.component'; 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/03-component-dom-onload/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/04-component-dom-unmount/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/05-component-update-render/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/09-pure-component-callback/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { MyComponent } from "./demo"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/03-hooks/14-use-ref-dom/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | 5 | .container { 6 | border: 1px solid steelblue; 7 | margin: 15px; 8 | padding: 50px; 9 | } 10 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/01-routing/src/scenes/login.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const LoginScene: React.FC = () => { 4 | return

Hello from Login Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/02-login-form/src/scenes/employee.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const EmployeeScene: React.FC = () => { 4 | return

Employee Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/02-components/00-boilerplate/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/02-use-state-object/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/03-component-did-mount/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/05-component-unmount/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/04-ci/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/tabs/index.ts: -------------------------------------------------------------------------------- 1 | export * from './tab-panel.component'; 2 | export * from './tab.component'; 3 | export * from './tab-list.component'; 4 | -------------------------------------------------------------------------------- /00-react/03-hooks/15-promise-unmounted/src/styles.css: -------------------------------------------------------------------------------- 1 | .my-text { 2 | color: blue; 3 | } 4 | 5 | .container { 6 | border: 1px solid steelblue; 7 | margin: 15px; 8 | padding: 50px; 9 | } 10 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/01-routing/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { RouterComponent } from "core/router"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/src/scenes/employee.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const EmployeeScene: React.FC = () => { 4 | return

Employee Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/11133_169_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/11133_169_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/16673_260_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/16673_260_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/16950_158_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/16950_158_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/19023_103_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/19023_103_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/25290_88_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/25290_88_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/284304_50_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/284304_50_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/28647_30_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/28647_30_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/50947_264_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/50947_264_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/62800_122_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/62800_122_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/new-hotel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/new-hotel.jpg -------------------------------------------------------------------------------- /02-testing/01-base/04-tdd/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/03-hooks/04-component-did-update/src/app.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | export const App: React.FunctionComponent = () => { 4 | return

05-Testing / 01 React

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/01-routing/src/scenes/employee-list.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const EmployeeListScene: React.FC = () => { 4 | return

Employee list Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/02-login-form/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { RouterComponent } from "core/router"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/04-theming/src/scenes/employee-list.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const EmployeeListScene: React.FC = () => { 4 | return

Employee list Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.scene"; 2 | export * from "./submodule-list.scene"; 3 | export * from "./employee-list.scene"; 4 | export * from "./employee.scene"; 5 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/server/public/thumbnails/3445681_43_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/01-crud/server/public/thumbnails/3445681_43_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/01-config/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/src/business/calculator.business.ts: -------------------------------------------------------------------------------- 1 | export const isLowerThan = (value, max) => { 2 | console.log(`The value: ${value} is lower than ${max}`); 3 | }; 4 | 5 | export const max = 6; 6 | -------------------------------------------------------------------------------- /02-testing/01-base/05-async/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/04-ci/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/01-routing/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.scene"; 2 | export * from "./submodule-list.scene"; 3 | export * from "./employee-list.scene"; 4 | export * from "./employee.scene"; 5 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/01-routing/src/scenes/submodule-list.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const SubmoduleListScene: React.FC = () => { 4 | return

Submodule list Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/02-login-form/src/scenes/employee-list.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const EmployeeListScene: React.FC = () => { 4 | return

Employee list Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/02-login-form/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.scene"; 2 | export * from "./submodule-list.scene"; 3 | export * from "./employee-list.scene"; 4 | export * from "./employee.scene"; 5 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/02-login-form/src/scenes/submodule-list.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const SubmoduleListScene: React.FC = () => { 4 | return

Submodule list Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/03-login-form-functionallity/src/scenes/employee.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const EmployeeScene: React.FC = () => { 4 | return

Employee Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/04-theming/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.scene"; 2 | export * from "./submodule-list.scene"; 3 | export * from "./employee-list.scene"; 4 | export * from "./employee.scene"; 5 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/04-theming/src/scenes/submodule-list.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const SubmoduleListScene: React.FC = () => { 4 | return

Submodule list Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/06-layout-app/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.scene"; 2 | export * from "./submodule-list.scene"; 3 | export * from "./employee-list.scene"; 4 | export * from "./employee.scene"; 5 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.scene"; 2 | export * from "./submodule-list.scene"; 3 | export * from "./employee-list.scene"; 4 | export * from "./employee.scene"; 5 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/new-hotel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/new-hotel.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/common/mappers/collection.mapper.ts: -------------------------------------------------------------------------------- 1 | export const mapToCollection = (collection: A[], mapFn: (A) => B): B[] => 2 | Array.isArray(collection) ? collection.map(mapFn) : []; 3 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/core/constants/api-route.constants.ts: -------------------------------------------------------------------------------- 1 | export const apiRouteConstants = { 2 | security: '/api/security', 3 | client: '/api/clients', 4 | order: '/api/orders', 5 | }; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/src/core/constants/api-route.constants.ts: -------------------------------------------------------------------------------- 1 | export const apiRouteConstants = { 2 | security: '/api/security', 3 | client: '/api/clients', 4 | order: '/api/orders', 5 | }; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/core/constants/api-route.constants.ts: -------------------------------------------------------------------------------- 1 | export const apiRouteConstants = { 2 | security: '/api/security', 3 | client: '/api/clients', 4 | order: '/api/orders', 5 | }; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/core/constants/api-route.constants.ts: -------------------------------------------------------------------------------- 1 | export const apiRouteConstants = { 2 | security: '/api/security', 3 | client: '/api/clients', 4 | order: '/api/orders', 5 | }; 6 | -------------------------------------------------------------------------------- /02-testing/01-base/00-boilerplate/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/01-base/02-calculator/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/01-base/02-calculator/src/business/calculator.business.ts: -------------------------------------------------------------------------------- 1 | export const isLowerThan = (value, max) => { 2 | console.log(`The value: ${value} is lower than ${max}`); 3 | }; 4 | 5 | export const max = 6; 6 | -------------------------------------------------------------------------------- /02-testing/02-components/01-hello/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/02-components/04-fetch/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/02-components/05-router/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/03-hooks/00-boilerplate/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/03-hooks/01-use-state/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/03-hooks/06-use-context/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ], 7 | "plugins": ["@emotion"] 8 | } 9 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common-app/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from './auth-route.component'; 2 | export * from './auth.context'; 3 | export * from './auth.hooks'; 4 | export * from './auth.vm'; 5 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common-app/command-footer/translations/keys.ts: -------------------------------------------------------------------------------- 1 | export const keys = { 2 | buttons: { 3 | cancel: 'buttons.cancel', 4 | save: 'buttons.save', 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/src/scenes/employee-list.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const EmployeeListScene: React.FC = () => { 4 | return

Employee list Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/11133_169_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/11133_169_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/16673_260_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/16673_260_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/16950_158_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/16950_158_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/19023_103_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/19023_103_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/25290_88_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/25290_88_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/284304_50_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/284304_50_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/28647_30_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/28647_30_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/50947_264_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/50947_264_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/62800_122_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/62800_122_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ], 7 | "plugins": ["react-hot-loader/babel"] 8 | } 9 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/pods/hotel/hotel.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from 'emotion'; 2 | 3 | export const root = css` 4 | display: flex; 5 | flex-direction: column; 6 | justify-content: center; 7 | `; 8 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/01-config/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/04-tdd/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/05-async/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/00-boilerplate/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/02-components/02-name-edit/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/02-components/03-integration/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/02-components/06-material-ui/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/03-hooks/02-use-state-object/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/03-hooks/05-component-unmount/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/04-ci/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /02-testing/04-ci/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common/components/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './form.component'; 2 | export * from './text-field.component'; 3 | export * from './checkbox'; 4 | export * from './select'; 5 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/03-login-form-functionallity/src/app.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { RouterComponent } from "core/router"; 3 | 4 | export const App = () => { 5 | return ; 6 | }; 7 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.scene"; 2 | export * from "./submodule-list.scene"; 3 | export * from "./employee-list.scene"; 4 | export * from "./employee.scene"; 5 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/05-login-validation/src/scenes/submodule-list.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const SubmoduleListScene: React.FC = () => { 4 | return

Submodule list Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/common-app/auth/auth.vm.tsx: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | userName: string; 3 | } 4 | 5 | export const createEmptyUserSession = (): UserSession => ({ 6 | userName: "", 7 | }); 8 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ], 7 | "plugins": ["react-hot-loader/babel"] 8 | } 9 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/3445681_43_t.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lemoncode/demos-react-v-2021/main/01-rest-api/01-concepts/00-boilerplate/server/public/thumbnails/3445681_43_t.jpg -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/common/mappers/collection.mapper.ts: -------------------------------------------------------------------------------- 1 | export const mapToCollection = (collection: A[], mapFn: (A) => B): B[] => 2 | Array.isArray(collection) ? collection.map(mapFn) : []; 3 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/pods/hotel/hotel.styles.ts: -------------------------------------------------------------------------------- 1 | import { css } from 'emotion'; 2 | 3 | export const root = css` 4 | display: flex; 5 | flex-direction: column; 6 | justify-content: center; 7 | `; 8 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/core/theme/theme.ts: -------------------------------------------------------------------------------- 1 | import { createMuiTheme, Theme } from '@material-ui/core/styles'; 2 | 3 | const defaultTheme = createMuiTheme(); 4 | 5 | export const theme: Theme = defaultTheme; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/src/core/constants/api-route.constants.ts: -------------------------------------------------------------------------------- 1 | export const apiRouteConstants = { 2 | security: '/api/security', 3 | client: '/api/clients', 4 | order: '/api/orders', 5 | }; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/src/core/constants/api-route.constants.ts: -------------------------------------------------------------------------------- 1 | export const apiRouteConstants = { 2 | security: '/api/security', 3 | client: '/api/clients', 4 | order: '/api/orders', 5 | }; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /01-rest-api/03-axios-interceptors/src/pods/facebook-members-list/api/api.model.ts: -------------------------------------------------------------------------------- 1 | export interface Member { 2 | login: string; 3 | id: number; 4 | avatar_url: string; 5 | url: string; 6 | html_url: string; 7 | } 8 | -------------------------------------------------------------------------------- /01-rest-api/03-axios-interceptors/src/pods/lemoncode-members-list/api/api.model.ts: -------------------------------------------------------------------------------- 1 | export interface Member { 2 | login: string; 3 | id: number; 4 | avatar_url: string; 5 | url: string; 6 | html_url: string; 7 | } 8 | -------------------------------------------------------------------------------- /02-testing/01-base/00-boilerplate/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/02-calculator/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/04-tdd/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/01-hello/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/04-fetch/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/05-router/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/00-boilerplate/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/01-use-state/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/03-component-did-mount/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/03-hooks/04-component-did-update/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public -------------------------------------------------------------------------------- /02-testing/03-hooks/06-use-context/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/03-login-form-functionallity/src/scenes/employee-list.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const EmployeeListScene: React.FC = () => { 4 | return

Employee list Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/03-login-form-functionallity/src/scenes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./login.scene"; 2 | export * from "./submodule-list.scene"; 3 | export * from "./employee-list.scene"; 4 | export * from "./employee.scene"; 5 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/03-login-form-functionallity/src/scenes/submodule-list.scene.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | export const SubmoduleListScene: React.FC = () => { 4 | return

Submodule list Scene!

; 5 | }; 6 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/06-layout-app/src/common-app/auth/auth.vm.tsx: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | userName: string; 3 | } 4 | 5 | export const createEmptyUserSession = (): UserSession => ({ 6 | userName: "", 7 | }); 8 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/07-dashboard/src/common-app/auth/auth.vm.tsx: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | userName: string; 3 | } 4 | 5 | export const createEmptyUserSession = (): UserSession => ({ 6 | userName: "", 7 | }); 8 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/pods/employee-list/employee-list.vm.tsx: -------------------------------------------------------------------------------- 1 | export interface Employee { 2 | id: string; 3 | isActive: boolean; 4 | name: string; 5 | email: string; 6 | lastDateIncurred: string; 7 | } 8 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/src/core/theme/theme.ts: -------------------------------------------------------------------------------- 1 | import { createMuiTheme, Theme } from '@material-ui/core/styles'; 2 | 3 | const defaultTheme = createMuiTheme(); 4 | 5 | export const theme: Theme = defaultTheme; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/common-app/auth/auth.vm.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | userName: string; 3 | } 4 | 5 | export const createEmptyUserSession = (): UserSession => ({ 6 | userName: '', 7 | }); 8 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/core/theme/theme.ts: -------------------------------------------------------------------------------- 1 | import { createMuiTheme, Theme } from '@material-ui/core/styles'; 2 | 3 | const defaultTheme = createMuiTheme(); 4 | 5 | export const theme: Theme = defaultTheme; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/common-app/auth/auth.vm.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | userName: string; 3 | } 4 | 5 | export const createEmptyUserSession = (): UserSession => ({ 6 | userName: '', 7 | }); 8 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/core/theme/theme.ts: -------------------------------------------------------------------------------- 1 | import { createMuiTheme, Theme } from '@material-ui/core/styles'; 2 | 3 | const defaultTheme = createMuiTheme(); 4 | 5 | export const theme: Theme = defaultTheme; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/common-app/auth/auth.vm.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | userName: string; 3 | } 4 | 5 | export const createEmptyUserSession = (): UserSession => ({ 6 | userName: '', 7 | }); 8 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/core/theme/theme.ts: -------------------------------------------------------------------------------- 1 | import { createMuiTheme, Theme } from '@material-ui/core/styles'; 2 | 3 | const defaultTheme = createMuiTheme(); 4 | 5 | export const theme: Theme = defaultTheme; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/common-app/auth/auth.vm.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | userName: string; 3 | } 4 | 5 | export const createEmptyUserSession = (): UserSession => ({ 6 | userName: '', 7 | }); 8 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/core/theme/theme.ts: -------------------------------------------------------------------------------- 1 | import { createMuiTheme, Theme } from '@material-ui/core/styles'; 2 | 3 | const defaultTheme = createMuiTheme(); 4 | 5 | export const theme: Theme = defaultTheme; 6 | -------------------------------------------------------------------------------- /02-testing/01-base/01-config/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/04-tdd/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /02-testing/01-base/05-async/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/00-boilerplate/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/02-name-edit/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/03-integration/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/06-material-ui/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/02-use-state-object/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/src/core/servers/express.server.ts: -------------------------------------------------------------------------------- 1 | import express from 'express'; 2 | 3 | export const createApp = () => { 4 | const app = express(); 5 | 6 | app.use(express.json()); 7 | return app; 8 | }; 9 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ], 7 | "plugins": ["react-hot-loader/babel", "emotion"] 8 | } 9 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | .env 14 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/src/common/components/snackbar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './snackbar.component'; 2 | export { SnackbarProvider } from './snackbar.context'; 3 | export { useSnackbarContext } from './snackbar.hook'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ], 7 | "plugins": ["react-hot-loader/babel", "emotion"] 8 | } 9 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | .env 14 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/src/common/components/snackbar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './snackbar.component'; 2 | export { SnackbarProvider } from './snackbar.context'; 3 | export { useSnackbarContext } from './snackbar.hook'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/src/core/servers/express.server.ts: -------------------------------------------------------------------------------- 1 | import express from 'express'; 2 | 3 | export const createApp = () => { 4 | const app = express(); 5 | 6 | app.use(express.json()); 7 | return app; 8 | }; 9 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ], 7 | "plugins": ["react-hot-loader/babel", "emotion"] 8 | } 9 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | .env 14 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/src/common/components/snackbar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './snackbar.component'; 2 | export { SnackbarProvider } from './snackbar.context'; 3 | export { useSnackbarContext } from './snackbar.hook'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/back/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/back/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | -------------------------------------------------------------------------------- /02-testing/01-base/00-boilerplate/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/01-config/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /02-testing/01-base/02-calculator/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/01-base/03-debug/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /02-testing/01-base/05-async/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /02-testing/02-components/01-hello/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/04-fetch/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/02-components/05-router/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/00-boilerplate/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/01-use-state/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/03-component-did-mount/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/04-component-did-update/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/05-component-unmount/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import { App } from './app'; 4 | 5 | ReactDOM.render(, document.getElementById('root')); 6 | -------------------------------------------------------------------------------- /02-testing/03-hooks/06-use-context/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common-app/auth/auth.vm.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | userName: string; 3 | } 4 | 5 | export const createEmptyUserSession = (): UserSession => ({ 6 | userName: '', 7 | }); 8 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common-app/command-footer/translations/en.ts: -------------------------------------------------------------------------------- 1 | import { keys } from './keys'; 2 | 3 | export const en = { 4 | [keys.buttons.cancel]: 'Cancel', 5 | [keys.buttons.save]: 'Save', 6 | }; 7 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/common-app/command-footer/translations/es.ts: -------------------------------------------------------------------------------- 1 | import { keys } from './keys'; 2 | 3 | export const es = { 4 | [keys.buttons.cancel]: 'Atrás', 5 | [keys.buttons.save]: 'Guardar', 6 | }; 7 | -------------------------------------------------------------------------------- /02-testing/05-real-project/00-boilerplate/src/pods/employee-list/employee-list.vm.ts: -------------------------------------------------------------------------------- 1 | export interface Employee { 2 | id: string; 3 | isActive: boolean; 4 | name: string; 5 | email: string; 6 | lastDateIncurred: string; 7 | } 8 | -------------------------------------------------------------------------------- /00-react/05-arquitectura/08-table/src/pods/employee-list/api/employee-list.api-model.ts: -------------------------------------------------------------------------------- 1 | export interface Employee { 2 | id: string; 3 | isActive: boolean; 4 | name: string; 5 | email: string; 6 | lastDateIncurred: string; 7 | } 8 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/00-boilerplate/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /01-rest-api/01-concepts/01-crud/src/common/models/lookup.ts: -------------------------------------------------------------------------------- 1 | export interface Lookup { 2 | id: string; 3 | name: string; 4 | } 5 | 6 | export const createEmptyLookup = (): Lookup => ({ 7 | id: '', 8 | name: '', 9 | }); 10 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/back/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/01-headers/front/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/back/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/02-cookies/front/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/back/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/03-storage/front/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/back/src/core/servers/express.server.ts: -------------------------------------------------------------------------------- 1 | import express from 'express'; 2 | 3 | export const createApp = () => { 4 | const app = express(); 5 | 6 | app.use(express.json()); 7 | return app; 8 | }; 9 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env", 4 | "@babel/preset-typescript", 5 | "@babel/preset-react" 6 | ], 7 | "plugins": ["react-hot-loader/babel", "emotion"] 8 | } 9 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .awcache 5 | test-report.* 6 | junit.xml 7 | *.log 8 | *.orig 9 | package-lock.json 10 | yarn.lock 11 | .awcache 12 | public 13 | .env 14 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/04-boilerplate/front/src/common/components/snackbar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './snackbar.component'; 2 | export { SnackbarProvider } from './snackbar.context'; 3 | export { useSnackbarContext } from './snackbar.hook'; 4 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/common-app/auth/auth.vm.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | userName: string; 3 | } 4 | 5 | export const createEmptyUserSession = (): UserSession => ({ 6 | userName: '', 7 | }); 8 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/05-login-app-headers/front/src/core/theme/theme.ts: -------------------------------------------------------------------------------- 1 | import { createMuiTheme, Theme } from '@material-ui/core/styles'; 2 | 3 | const defaultTheme = createMuiTheme(); 4 | 5 | export const theme: Theme = defaultTheme; 6 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/common-app/auth/auth.vm.ts: -------------------------------------------------------------------------------- 1 | export interface UserSession { 2 | userName: string; 3 | } 4 | 5 | export const createEmptyUserSession = (): UserSession => ({ 6 | userName: '', 7 | }); 8 | -------------------------------------------------------------------------------- /01-rest-api/02-auth/06-login-app-cookies/front/src/core/theme/theme.ts: -------------------------------------------------------------------------------- 1 | import { createMuiTheme, Theme } from '@material-ui/core/styles'; 2 | 3 | const defaultTheme = createMuiTheme(); 4 | 5 | export const theme: Theme = defaultTheme; 6 | -------------------------------------------------------------------------------- /01-rest-api/03-axios-interceptors/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /02-testing/01-base/00-boilerplate/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /02-testing/01-base/02-calculator/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | -------------------------------------------------------------------------------- /02-testing/02-components/00-boilerplate/config/webpack/helpers.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const rootPath = path.resolve(__dirname, '../../'); 4 | 5 | exports.resolveFromRootPath = (...args) => path.join(rootPath, ...args); 6 | --------------------------------------------------------------------------------