create-huenei-template 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1355) hide show
  1. package/README.md +132 -0
  2. package/bin/create-huenei-template.js +2 -0
  3. package/dist/config/templates.js +54 -0
  4. package/dist/core/dependency-manager.js +55 -0
  5. package/dist/core/errors.js +43 -0
  6. package/dist/core/file-operations.js +25 -0
  7. package/dist/core/prompts.js +183 -0
  8. package/dist/core/template-resolver.js +18 -0
  9. package/dist/index.js +85 -0
  10. package/dist/templates/backend/.gitkeep +1 -0
  11. package/dist/templates/backend/nestjs-api/.prettierrc +4 -0
  12. package/dist/templates/backend/nestjs-api/README.md +98 -0
  13. package/dist/templates/backend/nestjs-api/eslint.config.mjs +35 -0
  14. package/dist/templates/backend/nestjs-api/nest-cli.json +8 -0
  15. package/dist/templates/backend/nestjs-api/package.json +71 -0
  16. package/dist/templates/backend/nestjs-api/pnpm-lock.yaml +6233 -0
  17. package/dist/templates/backend/nestjs-api/src/app.controller.spec.ts +22 -0
  18. package/dist/templates/backend/nestjs-api/src/app.controller.ts +12 -0
  19. package/dist/templates/backend/nestjs-api/src/app.module.ts +10 -0
  20. package/dist/templates/backend/nestjs-api/src/app.service.ts +8 -0
  21. package/dist/templates/backend/nestjs-api/src/main.ts +8 -0
  22. package/dist/templates/backend/nestjs-api/test/app.e2e-spec.ts +25 -0
  23. package/dist/templates/backend/nestjs-api/test/jest-e2e.json +9 -0
  24. package/dist/templates/backend/nestjs-api/tsconfig.build.json +4 -0
  25. package/dist/templates/backend/nestjs-api/tsconfig.json +25 -0
  26. package/dist/templates/backend/nestjs-api-postgres/.cursor/commands/new-endpoint.md +209 -0
  27. package/dist/templates/backend/nestjs-api-postgres/.cursor/commands/new-model.md +201 -0
  28. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/api-rest.mdc +126 -0
  29. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/authentication-security.mdc +86 -0
  30. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/dto-validation.mdc +93 -0
  31. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/general-rules.mdc +126 -0
  32. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/nestjs-architecture.mdc +83 -0
  33. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/prisma-standards.mdc +90 -0
  34. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/swagger-documentation.mdc +90 -0
  35. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/api-security-best-practices/SKILL.md +907 -0
  36. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/docker-expert/SKILL.md +409 -0
  37. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-expert/SKILL.md +552 -0
  38. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-the-best-practices/AGENTS.md +5958 -0
  39. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-the-best-practices/SKILL.md +130 -0
  40. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/nodejs-best-practices/SKILL.md +333 -0
  41. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/postgresql-table-design/SKILL.md +202 -0
  42. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/prisma-expert/SKILL.md +355 -0
  43. package/dist/templates/backend/nestjs-api-postgres/.dockerignore +50 -0
  44. package/dist/templates/backend/nestjs-api-postgres/.env.example +18 -0
  45. package/dist/templates/backend/nestjs-api-postgres/.env.test +18 -0
  46. package/dist/templates/backend/nestjs-api-postgres/.prettierrc +4 -0
  47. package/dist/templates/backend/nestjs-api-postgres/README.md +1502 -0
  48. package/dist/templates/backend/nestjs-api-postgres/docker-compose.yml +24 -0
  49. package/dist/templates/backend/nestjs-api-postgres/eslint.config.mjs +41 -0
  50. package/dist/templates/backend/nestjs-api-postgres/nest-cli.json +8 -0
  51. package/dist/templates/backend/nestjs-api-postgres/package.json +107 -0
  52. package/dist/templates/backend/nestjs-api-postgres/prisma/migrations/20260126125423_init/migration.sql +84 -0
  53. package/dist/templates/backend/nestjs-api-postgres/prisma/migrations/migration_lock.toml +3 -0
  54. package/dist/templates/backend/nestjs-api-postgres/prisma/schema.prisma +76 -0
  55. package/dist/templates/backend/nestjs-api-postgres/prisma/seed.ts +220 -0
  56. package/dist/templates/backend/nestjs-api-postgres/prisma.config.ts +10 -0
  57. package/dist/templates/backend/nestjs-api-postgres/src/app.module.ts +39 -0
  58. package/dist/templates/backend/nestjs-api-postgres/src/app.service.ts +8 -0
  59. package/dist/templates/backend/nestjs-api-postgres/src/auth/auth.controller.ts +36 -0
  60. package/dist/templates/backend/nestjs-api-postgres/src/auth/auth.module.ts +22 -0
  61. package/dist/templates/backend/nestjs-api-postgres/src/auth/auth.service.ts +63 -0
  62. package/dist/templates/backend/nestjs-api-postgres/src/auth/decorators/roles.decorator.ts +5 -0
  63. package/dist/templates/backend/nestjs-api-postgres/src/auth/dto/login-response.dto.ts +23 -0
  64. package/dist/templates/backend/nestjs-api-postgres/src/auth/dto/login.dto.ts +27 -0
  65. package/dist/templates/backend/nestjs-api-postgres/src/auth/guards/jwt-auth.guard.ts +20 -0
  66. package/dist/templates/backend/nestjs-api-postgres/src/auth/guards/roles.guard.ts +23 -0
  67. package/dist/templates/backend/nestjs-api-postgres/src/auth/strategies/jwt.strategy.ts +32 -0
  68. package/dist/templates/backend/nestjs-api-postgres/src/auth/types.ts +18 -0
  69. package/dist/templates/backend/nestjs-api-postgres/src/common/dto/paginated-response.dto.ts +16 -0
  70. package/dist/templates/backend/nestjs-api-postgres/src/common/dto/pagination.dto.ts +31 -0
  71. package/dist/templates/backend/nestjs-api-postgres/src/common/filters/http-exception.filter.ts +53 -0
  72. package/dist/templates/backend/nestjs-api-postgres/src/config/env.validation.ts +41 -0
  73. package/dist/templates/backend/nestjs-api-postgres/src/health/health.controller.ts +35 -0
  74. package/dist/templates/backend/nestjs-api-postgres/src/health/health.module.ts +7 -0
  75. package/dist/templates/backend/nestjs-api-postgres/src/main.ts +87 -0
  76. package/dist/templates/backend/nestjs-api-postgres/src/posts/dto/create-post.dto.ts +32 -0
  77. package/dist/templates/backend/nestjs-api-postgres/src/posts/dto/post-response.dto.ts +41 -0
  78. package/dist/templates/backend/nestjs-api-postgres/src/posts/dto/update-post.dto.ts +31 -0
  79. package/dist/templates/backend/nestjs-api-postgres/src/posts/posts.controller.ts +161 -0
  80. package/dist/templates/backend/nestjs-api-postgres/src/posts/posts.module.ts +12 -0
  81. package/dist/templates/backend/nestjs-api-postgres/src/posts/posts.service.ts +171 -0
  82. package/dist/templates/backend/nestjs-api-postgres/src/prisma/prisma.module.ts +9 -0
  83. package/dist/templates/backend/nestjs-api-postgres/src/prisma/prisma.service.ts +27 -0
  84. package/dist/templates/backend/nestjs-api-postgres/src/users/constants/settings.constants.ts +9 -0
  85. package/dist/templates/backend/nestjs-api-postgres/src/users/dto/profile-response.dto.ts +39 -0
  86. package/dist/templates/backend/nestjs-api-postgres/src/users/dto/settings-response.dto.ts +18 -0
  87. package/dist/templates/backend/nestjs-api-postgres/src/users/dto/update-profile.dto.ts +48 -0
  88. package/dist/templates/backend/nestjs-api-postgres/src/users/dto/update-settings.dto.ts +40 -0
  89. package/dist/templates/backend/nestjs-api-postgres/src/users/dto/user-response.dto.ts +18 -0
  90. package/dist/templates/backend/nestjs-api-postgres/src/users/profile.service.ts +49 -0
  91. package/dist/templates/backend/nestjs-api-postgres/src/users/settings.service.ts +82 -0
  92. package/dist/templates/backend/nestjs-api-postgres/src/users/users.controller.ts +102 -0
  93. package/dist/templates/backend/nestjs-api-postgres/src/users/users.module.ts +14 -0
  94. package/dist/templates/backend/nestjs-api-postgres/src/users/users.service.ts +27 -0
  95. package/dist/templates/backend/nestjs-api-postgres/test/README.md +412 -0
  96. package/dist/templates/backend/nestjs-api-postgres/test/e2e/auth.e2e-spec.ts +147 -0
  97. package/dist/templates/backend/nestjs-api-postgres/test/e2e/health.e2e-spec.ts +62 -0
  98. package/dist/templates/backend/nestjs-api-postgres/test/e2e/posts.e2e-spec.ts +407 -0
  99. package/dist/templates/backend/nestjs-api-postgres/test/e2e/users.e2e-spec.ts +287 -0
  100. package/dist/templates/backend/nestjs-api-postgres/test/fixtures/test-data.ts +109 -0
  101. package/dist/templates/backend/nestjs-api-postgres/test/helpers/auth.helper.ts +54 -0
  102. package/dist/templates/backend/nestjs-api-postgres/test/helpers/db.helper.ts +73 -0
  103. package/dist/templates/backend/nestjs-api-postgres/test/jest-e2e.json +12 -0
  104. package/dist/templates/backend/nestjs-api-postgres/test/setup-e2e.ts +8 -0
  105. package/dist/templates/backend/nestjs-api-postgres/test/unit/app.service.spec.ts +24 -0
  106. package/dist/templates/backend/nestjs-api-postgres/test/unit/auth.controller.spec.ts +91 -0
  107. package/dist/templates/backend/nestjs-api-postgres/test/unit/auth.service.spec.ts +161 -0
  108. package/dist/templates/backend/nestjs-api-postgres/test/unit/health.controller.spec.ts +78 -0
  109. package/dist/templates/backend/nestjs-api-postgres/test/unit/http-exception.filter.spec.ts +150 -0
  110. package/dist/templates/backend/nestjs-api-postgres/test/unit/jwt-auth.guard.spec.ts +50 -0
  111. package/dist/templates/backend/nestjs-api-postgres/test/unit/jwt.strategy.spec.ts +41 -0
  112. package/dist/templates/backend/nestjs-api-postgres/test/unit/posts.controller.spec.ts +249 -0
  113. package/dist/templates/backend/nestjs-api-postgres/test/unit/posts.service.spec.ts +328 -0
  114. package/dist/templates/backend/nestjs-api-postgres/test/unit/profile.service.spec.ts +146 -0
  115. package/dist/templates/backend/nestjs-api-postgres/test/unit/settings.service.spec.ts +242 -0
  116. package/dist/templates/backend/nestjs-api-postgres/test/unit/users.controller.spec.ts +178 -0
  117. package/dist/templates/backend/nestjs-api-postgres/test/unit/users.service.spec.ts +96 -0
  118. package/dist/templates/backend/nestjs-api-postgres/tsconfig.build.json +4 -0
  119. package/dist/templates/backend/nestjs-api-postgres/tsconfig.json +28 -0
  120. package/dist/templates/backend/nestjs-api-sqlite/.cursor/commands/new-endpoint.md +209 -0
  121. package/dist/templates/backend/nestjs-api-sqlite/.cursor/commands/new-model.md +201 -0
  122. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/api-rest.mdc +126 -0
  123. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/authentication-security.mdc +86 -0
  124. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/dto-validation.mdc +93 -0
  125. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/general-rules.mdc +126 -0
  126. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/nestjs-architecture.mdc +83 -0
  127. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/prisma-standards.mdc +90 -0
  128. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/swagger-documentation.mdc +90 -0
  129. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/api-security-best-practices/SKILL.md +907 -0
  130. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-expert/SKILL.md +552 -0
  131. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-the-best-practices/AGENTS.md +5958 -0
  132. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-the-best-practices/SKILL.md +130 -0
  133. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/nodejs-best-practices/SKILL.md +333 -0
  134. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/prisma-expert/SKILL.md +355 -0
  135. package/dist/templates/backend/nestjs-api-sqlite/.env.example +4 -0
  136. package/dist/templates/backend/nestjs-api-sqlite/.env.test +4 -0
  137. package/dist/templates/backend/nestjs-api-sqlite/.prettierrc +4 -0
  138. package/dist/templates/backend/nestjs-api-sqlite/FINAL_IMPLEMENTATION_SUMMARY.md +537 -0
  139. package/dist/templates/backend/nestjs-api-sqlite/IMPLEMENTATION_REPORT.md +229 -0
  140. package/dist/templates/backend/nestjs-api-sqlite/IMPLEMENTATION_SUMMARY.md +275 -0
  141. package/dist/templates/backend/nestjs-api-sqlite/PRISMA_7_MIGRATION.md +175 -0
  142. package/dist/templates/backend/nestjs-api-sqlite/README.md +1464 -0
  143. package/dist/templates/backend/nestjs-api-sqlite/SWAGGER_INTEGRATION.md +194 -0
  144. package/dist/templates/backend/nestjs-api-sqlite/TESTING_IMPLEMENTATION_REPORT.md +368 -0
  145. package/dist/templates/backend/nestjs-api-sqlite/TESTING_SUMMARY.md +293 -0
  146. package/dist/templates/backend/nestjs-api-sqlite/Untitled +218 -0
  147. package/dist/templates/backend/nestjs-api-sqlite/eslint.config.mjs +41 -0
  148. package/dist/templates/backend/nestjs-api-sqlite/nest-cli.json +8 -0
  149. package/dist/templates/backend/nestjs-api-sqlite/package.json +105 -0
  150. package/dist/templates/backend/nestjs-api-sqlite/pnpm-lock.yaml +7630 -0
  151. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/20260123190258_init/migration.sql +12 -0
  152. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/20260123205000_add_roles_and_posts/migration.sql +32 -0
  153. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124163749_init_with_profile_and_settings/migration.sql +33 -0
  154. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124190929_add_render_model/migration.sql +13 -0
  155. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124200534_add_post_indexes/migration.sql +16 -0
  156. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/migration_lock.toml +3 -0
  157. package/dist/templates/backend/nestjs-api-sqlite/prisma/schema.prisma +76 -0
  158. package/dist/templates/backend/nestjs-api-sqlite/prisma/seed.ts +218 -0
  159. package/dist/templates/backend/nestjs-api-sqlite/prisma.config.ts +10 -0
  160. package/dist/templates/backend/nestjs-api-sqlite/src/app.module.ts +39 -0
  161. package/dist/templates/backend/nestjs-api-sqlite/src/app.service.ts +8 -0
  162. package/dist/templates/backend/nestjs-api-sqlite/src/auth/auth.controller.ts +36 -0
  163. package/dist/templates/backend/nestjs-api-sqlite/src/auth/auth.module.ts +22 -0
  164. package/dist/templates/backend/nestjs-api-sqlite/src/auth/auth.service.ts +63 -0
  165. package/dist/templates/backend/nestjs-api-sqlite/src/auth/decorators/roles.decorator.ts +5 -0
  166. package/dist/templates/backend/nestjs-api-sqlite/src/auth/dto/login-response.dto.ts +23 -0
  167. package/dist/templates/backend/nestjs-api-sqlite/src/auth/dto/login.dto.ts +27 -0
  168. package/dist/templates/backend/nestjs-api-sqlite/src/auth/guards/jwt-auth.guard.ts +20 -0
  169. package/dist/templates/backend/nestjs-api-sqlite/src/auth/guards/roles.guard.ts +23 -0
  170. package/dist/templates/backend/nestjs-api-sqlite/src/auth/strategies/jwt.strategy.ts +32 -0
  171. package/dist/templates/backend/nestjs-api-sqlite/src/auth/types.ts +18 -0
  172. package/dist/templates/backend/nestjs-api-sqlite/src/common/dto/paginated-response.dto.ts +16 -0
  173. package/dist/templates/backend/nestjs-api-sqlite/src/common/dto/pagination.dto.ts +31 -0
  174. package/dist/templates/backend/nestjs-api-sqlite/src/common/filters/http-exception.filter.ts +53 -0
  175. package/dist/templates/backend/nestjs-api-sqlite/src/config/env.validation.ts +35 -0
  176. package/dist/templates/backend/nestjs-api-sqlite/src/health/health.controller.ts +35 -0
  177. package/dist/templates/backend/nestjs-api-sqlite/src/health/health.module.ts +7 -0
  178. package/dist/templates/backend/nestjs-api-sqlite/src/main.ts +87 -0
  179. package/dist/templates/backend/nestjs-api-sqlite/src/posts/dto/create-post.dto.ts +32 -0
  180. package/dist/templates/backend/nestjs-api-sqlite/src/posts/dto/post-response.dto.ts +41 -0
  181. package/dist/templates/backend/nestjs-api-sqlite/src/posts/dto/update-post.dto.ts +31 -0
  182. package/dist/templates/backend/nestjs-api-sqlite/src/posts/posts.controller.ts +161 -0
  183. package/dist/templates/backend/nestjs-api-sqlite/src/posts/posts.module.ts +12 -0
  184. package/dist/templates/backend/nestjs-api-sqlite/src/posts/posts.service.ts +171 -0
  185. package/dist/templates/backend/nestjs-api-sqlite/src/prisma/prisma.module.ts +9 -0
  186. package/dist/templates/backend/nestjs-api-sqlite/src/prisma/prisma.service.ts +29 -0
  187. package/dist/templates/backend/nestjs-api-sqlite/src/users/constants/settings.constants.ts +9 -0
  188. package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/profile-response.dto.ts +39 -0
  189. package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/settings-response.dto.ts +18 -0
  190. package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/update-profile.dto.ts +48 -0
  191. package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/update-settings.dto.ts +40 -0
  192. package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/user-response.dto.ts +18 -0
  193. package/dist/templates/backend/nestjs-api-sqlite/src/users/profile.service.ts +49 -0
  194. package/dist/templates/backend/nestjs-api-sqlite/src/users/settings.service.ts +82 -0
  195. package/dist/templates/backend/nestjs-api-sqlite/src/users/users.controller.ts +102 -0
  196. package/dist/templates/backend/nestjs-api-sqlite/src/users/users.module.ts +14 -0
  197. package/dist/templates/backend/nestjs-api-sqlite/src/users/users.service.ts +27 -0
  198. package/dist/templates/backend/nestjs-api-sqlite/test/README.md +412 -0
  199. package/dist/templates/backend/nestjs-api-sqlite/test/e2e/auth.e2e-spec.ts +147 -0
  200. package/dist/templates/backend/nestjs-api-sqlite/test/e2e/health.e2e-spec.ts +62 -0
  201. package/dist/templates/backend/nestjs-api-sqlite/test/e2e/posts.e2e-spec.ts +407 -0
  202. package/dist/templates/backend/nestjs-api-sqlite/test/e2e/users.e2e-spec.ts +287 -0
  203. package/dist/templates/backend/nestjs-api-sqlite/test/fixtures/test-data.ts +109 -0
  204. package/dist/templates/backend/nestjs-api-sqlite/test/helpers/auth.helper.ts +54 -0
  205. package/dist/templates/backend/nestjs-api-sqlite/test/helpers/db.helper.ts +72 -0
  206. package/dist/templates/backend/nestjs-api-sqlite/test/jest-e2e.json +12 -0
  207. package/dist/templates/backend/nestjs-api-sqlite/test/setup-e2e.ts +8 -0
  208. package/dist/templates/backend/nestjs-api-sqlite/test/unit/app.service.spec.ts +24 -0
  209. package/dist/templates/backend/nestjs-api-sqlite/test/unit/auth.controller.spec.ts +91 -0
  210. package/dist/templates/backend/nestjs-api-sqlite/test/unit/auth.service.spec.ts +161 -0
  211. package/dist/templates/backend/nestjs-api-sqlite/test/unit/health.controller.spec.ts +78 -0
  212. package/dist/templates/backend/nestjs-api-sqlite/test/unit/http-exception.filter.spec.ts +150 -0
  213. package/dist/templates/backend/nestjs-api-sqlite/test/unit/jwt-auth.guard.spec.ts +50 -0
  214. package/dist/templates/backend/nestjs-api-sqlite/test/unit/jwt.strategy.spec.ts +41 -0
  215. package/dist/templates/backend/nestjs-api-sqlite/test/unit/posts.controller.spec.ts +249 -0
  216. package/dist/templates/backend/nestjs-api-sqlite/test/unit/posts.service.spec.ts +328 -0
  217. package/dist/templates/backend/nestjs-api-sqlite/test/unit/profile.service.spec.ts +146 -0
  218. package/dist/templates/backend/nestjs-api-sqlite/test/unit/settings.service.spec.ts +242 -0
  219. package/dist/templates/backend/nestjs-api-sqlite/test/unit/users.controller.spec.ts +178 -0
  220. package/dist/templates/backend/nestjs-api-sqlite/test/unit/users.service.spec.ts +96 -0
  221. package/dist/templates/backend/nestjs-api-sqlite/tsconfig.build.json +4 -0
  222. package/dist/templates/backend/nestjs-api-sqlite/tsconfig.json +28 -0
  223. package/dist/templates/frontend/angular-base/.agents/skills/angular-component/SKILL.md +288 -0
  224. package/dist/templates/frontend/angular-base/.agents/skills/angular-component/references/component-patterns.md +358 -0
  225. package/dist/templates/frontend/angular-base/.agents/skills/angular-di/SKILL.md +387 -0
  226. package/dist/templates/frontend/angular-base/.agents/skills/angular-di/references/di-patterns.md +519 -0
  227. package/dist/templates/frontend/angular-base/.agents/skills/angular-directives/SKILL.md +437 -0
  228. package/dist/templates/frontend/angular-base/.agents/skills/angular-directives/references/directive-patterns.md +570 -0
  229. package/dist/templates/frontend/angular-base/.agents/skills/angular-forms/SKILL.md +434 -0
  230. package/dist/templates/frontend/angular-base/.agents/skills/angular-forms/references/form-patterns.md +398 -0
  231. package/dist/templates/frontend/angular-base/.agents/skills/angular-http/SKILL.md +366 -0
  232. package/dist/templates/frontend/angular-base/.agents/skills/angular-http/references/http-patterns.md +448 -0
  233. package/dist/templates/frontend/angular-base/.agents/skills/angular-routing/SKILL.md +395 -0
  234. package/dist/templates/frontend/angular-base/.agents/skills/angular-routing/references/routing-patterns.md +472 -0
  235. package/dist/templates/frontend/angular-base/.agents/skills/angular-signals/SKILL.md +302 -0
  236. package/dist/templates/frontend/angular-base/.agents/skills/angular-signals/references/signal-patterns.md +404 -0
  237. package/dist/templates/frontend/angular-base/.agents/skills/angular-ssr/SKILL.md +435 -0
  238. package/dist/templates/frontend/angular-base/.agents/skills/angular-ssr/references/ssr-patterns.md +497 -0
  239. package/dist/templates/frontend/angular-base/.agents/skills/angular-testing/SKILL.md +660 -0
  240. package/dist/templates/frontend/angular-base/.agents/skills/angular-testing/references/testing-patterns.md +707 -0
  241. package/dist/templates/frontend/angular-base/.agents/skills/angular-tooling/SKILL.md +352 -0
  242. package/dist/templates/frontend/angular-base/.agents/skills/angular-tooling/references/tooling-patterns.md +448 -0
  243. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-accessibility/SKILL.md +780 -0
  244. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-components/SKILL.md +718 -0
  245. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
  246. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
  247. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/SKILL.md +432 -0
  248. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
  249. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/SKILL.md +354 -0
  250. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
  251. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/SKILL.md +578 -0
  252. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
  253. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
  254. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
  255. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
  256. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-mobile-first/SKILL.md +768 -0
  257. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/SKILL.md +374 -0
  258. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
  259. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-plugins/SKILL.md +505 -0
  260. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
  261. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
  262. package/dist/templates/frontend/angular-base/.agents/skills/web-design-guidelines/SKILL.md +39 -0
  263. package/dist/templates/frontend/angular-base/.cursor/mcp.json +12 -0
  264. package/dist/templates/frontend/angular-base/.cursor/rules/angular-expert.mdc +153 -0
  265. package/dist/templates/frontend/angular-base/.editorconfig +17 -0
  266. package/dist/templates/frontend/angular-base/.eslintrc.json +52 -0
  267. package/dist/templates/frontend/angular-base/.github/workflows/ci.yml +122 -0
  268. package/dist/templates/frontend/angular-base/.husky/pre-commit +1 -0
  269. package/dist/templates/frontend/angular-base/.husky/pre-push +1 -0
  270. package/dist/templates/frontend/angular-base/.postcssrc.json +5 -0
  271. package/dist/templates/frontend/angular-base/.prettierignore +8 -0
  272. package/dist/templates/frontend/angular-base/.prettierrc.json +15 -0
  273. package/dist/templates/frontend/angular-base/.vscode/extensions.json +4 -0
  274. package/dist/templates/frontend/angular-base/.vscode/launch.json +20 -0
  275. package/dist/templates/frontend/angular-base/.vscode/mcp.json +9 -0
  276. package/dist/templates/frontend/angular-base/.vscode/tasks.json +42 -0
  277. package/dist/templates/frontend/angular-base/CONTRIBUTING.md +230 -0
  278. package/dist/templates/frontend/angular-base/README.md +383 -0
  279. package/dist/templates/frontend/angular-base/angular.json +84 -0
  280. package/dist/templates/frontend/angular-base/cypress/e2e/app.cy.ts +39 -0
  281. package/dist/templates/frontend/angular-base/cypress/e2e/auth.cy.ts +196 -0
  282. package/dist/templates/frontend/angular-base/cypress/e2e/dashboard.cy.ts +56 -0
  283. package/dist/templates/frontend/angular-base/cypress/e2e/home.cy.ts +35 -0
  284. package/dist/templates/frontend/angular-base/cypress/fixtures/example.json +4 -0
  285. package/dist/templates/frontend/angular-base/cypress/support/commands.ts +8 -0
  286. package/dist/templates/frontend/angular-base/cypress/support/e2e.ts +11 -0
  287. package/dist/templates/frontend/angular-base/cypress.config.ts +11 -0
  288. package/dist/templates/frontend/angular-base/docs/ARCHITECTURE.md +337 -0
  289. package/dist/templates/frontend/angular-base/docs/AUTHENTICATION.md +491 -0
  290. package/dist/templates/frontend/angular-base/docs/DEPLOYMENT.md +507 -0
  291. package/dist/templates/frontend/angular-base/docs/FEATURES.md +404 -0
  292. package/dist/templates/frontend/angular-base/docs/TESTING.md +418 -0
  293. package/dist/templates/frontend/angular-base/docs/THEMING.md +333 -0
  294. package/dist/templates/frontend/angular-base/docs/UI_LIBRARIES.md +380 -0
  295. package/dist/templates/frontend/angular-base/docs/USER_PROFILE_FLOW.md +431 -0
  296. package/dist/templates/frontend/angular-base/package-lock.json +13321 -0
  297. package/dist/templates/frontend/angular-base/package.json +93 -0
  298. package/dist/templates/frontend/angular-base/public/favicon.ico +0 -0
  299. package/dist/templates/frontend/angular-base/src/app/app.config.server.ts +14 -0
  300. package/dist/templates/frontend/angular-base/src/app/app.config.ts +32 -0
  301. package/dist/templates/frontend/angular-base/src/app/app.css +0 -0
  302. package/dist/templates/frontend/angular-base/src/app/app.html +1 -0
  303. package/dist/templates/frontend/angular-base/src/app/app.routes.server.ts +28 -0
  304. package/dist/templates/frontend/angular-base/src/app/app.routes.ts +67 -0
  305. package/dist/templates/frontend/angular-base/src/app/app.spec.ts +23 -0
  306. package/dist/templates/frontend/angular-base/src/app/app.ts +12 -0
  307. package/dist/templates/frontend/angular-base/src/app/core/guards/admin.guard.ts +16 -0
  308. package/dist/templates/frontend/angular-base/src/app/core/guards/auth.guard.spec.ts +43 -0
  309. package/dist/templates/frontend/angular-base/src/app/core/guards/auth.guard.ts +15 -0
  310. package/dist/templates/frontend/angular-base/src/app/core/index.ts +10 -0
  311. package/dist/templates/frontend/angular-base/src/app/core/interceptors/http-error.interceptor.spec.ts +43 -0
  312. package/dist/templates/frontend/angular-base/src/app/core/interceptors/http-error.interceptor.ts +53 -0
  313. package/dist/templates/frontend/angular-base/src/app/core/services/auth.service.spec.ts +33 -0
  314. package/dist/templates/frontend/angular-base/src/app/core/services/auth.service.ts +91 -0
  315. package/dist/templates/frontend/angular-base/src/app/core/services/theme.service.spec.ts +33 -0
  316. package/dist/templates/frontend/angular-base/src/app/core/services/theme.service.ts +136 -0
  317. package/dist/templates/frontend/angular-base/src/app/features/admin/index.ts +3 -0
  318. package/dist/templates/frontend/angular-base/src/app/features/admin/routes.ts +21 -0
  319. package/dist/templates/frontend/angular-base/src/app/features/admin/users/models/admin-user.model.ts +32 -0
  320. package/dist/templates/frontend/angular-base/src/app/features/admin/users/pages/user-form.page.ts +279 -0
  321. package/dist/templates/frontend/angular-base/src/app/features/admin/users/pages/user-list.page.ts +336 -0
  322. package/dist/templates/frontend/angular-base/src/app/features/admin/users/services/admin-user.service.ts +151 -0
  323. package/dist/templates/frontend/angular-base/src/app/features/auth/index.ts +2 -0
  324. package/dist/templates/frontend/angular-base/src/app/features/auth/models/auth.model.ts +39 -0
  325. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/login.page.spec.ts +44 -0
  326. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/login.page.ts +187 -0
  327. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/password-recovery.page.spec.ts +48 -0
  328. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/password-recovery.page.ts +171 -0
  329. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/signup.page.spec.ts +53 -0
  330. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/signup.page.ts +269 -0
  331. package/dist/templates/frontend/angular-base/src/app/features/auth/routes.ts +22 -0
  332. package/dist/templates/frontend/angular-base/src/app/features/customers/index.ts +3 -0
  333. package/dist/templates/frontend/angular-base/src/app/features/customers/models/customer.model.ts +41 -0
  334. package/dist/templates/frontend/angular-base/src/app/features/customers/pages/customer-detail.page.ts +299 -0
  335. package/dist/templates/frontend/angular-base/src/app/features/customers/pages/customer-form.page.ts +302 -0
  336. package/dist/templates/frontend/angular-base/src/app/features/customers/pages/customer-list.page.ts +439 -0
  337. package/dist/templates/frontend/angular-base/src/app/features/customers/routes.ts +21 -0
  338. package/dist/templates/frontend/angular-base/src/app/features/customers/services/customer.service.ts +162 -0
  339. package/dist/templates/frontend/angular-base/src/app/features/dashboard/components/stats-card/stats-card.component.spec.ts +23 -0
  340. package/dist/templates/frontend/angular-base/src/app/features/dashboard/components/stats-card/stats-card.component.ts +52 -0
  341. package/dist/templates/frontend/angular-base/src/app/features/dashboard/index.ts +1 -0
  342. package/dist/templates/frontend/angular-base/src/app/features/dashboard/pages/dashboard.page.spec.ts +21 -0
  343. package/dist/templates/frontend/angular-base/src/app/features/dashboard/pages/dashboard.page.ts +122 -0
  344. package/dist/templates/frontend/angular-base/src/app/features/dashboard/routes.ts +8 -0
  345. package/dist/templates/frontend/angular-base/src/app/features/dashboard/services/dashboard.service.spec.ts +37 -0
  346. package/dist/templates/frontend/angular-base/src/app/features/dashboard/services/dashboard.service.ts +48 -0
  347. package/dist/templates/frontend/angular-base/src/app/features/errors/index.ts +1 -0
  348. package/dist/templates/frontend/angular-base/src/app/features/errors/pages/forbidden.page.ts +50 -0
  349. package/dist/templates/frontend/angular-base/src/app/features/errors/pages/maintenance.page.ts +46 -0
  350. package/dist/templates/frontend/angular-base/src/app/features/errors/pages/not-found.page.ts +49 -0
  351. package/dist/templates/frontend/angular-base/src/app/features/errors/pages/server-error.page.ts +60 -0
  352. package/dist/templates/frontend/angular-base/src/app/features/errors/routes.ts +25 -0
  353. package/dist/templates/frontend/angular-base/src/app/features/home/index.ts +1 -0
  354. package/dist/templates/frontend/angular-base/src/app/features/home/pages/home.page.spec.ts +23 -0
  355. package/dist/templates/frontend/angular-base/src/app/features/home/pages/home.page.ts +105 -0
  356. package/dist/templates/frontend/angular-base/src/app/features/home/routes.ts +8 -0
  357. package/dist/templates/frontend/angular-base/src/app/features/projects/index.ts +3 -0
  358. package/dist/templates/frontend/angular-base/src/app/features/projects/models/project.model.ts +48 -0
  359. package/dist/templates/frontend/angular-base/src/app/features/projects/pages/project-detail.page.ts +444 -0
  360. package/dist/templates/frontend/angular-base/src/app/features/projects/pages/project-form.page.ts +393 -0
  361. package/dist/templates/frontend/angular-base/src/app/features/projects/pages/project-list.page.ts +411 -0
  362. package/dist/templates/frontend/angular-base/src/app/features/projects/routes.ts +21 -0
  363. package/dist/templates/frontend/angular-base/src/app/features/projects/services/project.service.ts +227 -0
  364. package/dist/templates/frontend/angular-base/src/app/features/reports/index.ts +3 -0
  365. package/dist/templates/frontend/angular-base/src/app/features/reports/models/report.model.ts +27 -0
  366. package/dist/templates/frontend/angular-base/src/app/features/reports/pages/analytics.page.html +246 -0
  367. package/dist/templates/frontend/angular-base/src/app/features/reports/pages/analytics.page.ts +135 -0
  368. package/dist/templates/frontend/angular-base/src/app/features/reports/routes.ts +13 -0
  369. package/dist/templates/frontend/angular-base/src/app/features/reports/services/report.service.ts +141 -0
  370. package/dist/templates/frontend/angular-base/src/app/features/user/index.ts +3 -0
  371. package/dist/templates/frontend/angular-base/src/app/features/user/models/user.model.ts +23 -0
  372. package/dist/templates/frontend/angular-base/src/app/features/user/pages/privacy.page.spec.ts +27 -0
  373. package/dist/templates/frontend/angular-base/src/app/features/user/pages/privacy.page.ts +414 -0
  374. package/dist/templates/frontend/angular-base/src/app/features/user/pages/profile.page.spec.ts +39 -0
  375. package/dist/templates/frontend/angular-base/src/app/features/user/pages/profile.page.ts +232 -0
  376. package/dist/templates/frontend/angular-base/src/app/features/user/pages/settings.page.spec.ts +28 -0
  377. package/dist/templates/frontend/angular-base/src/app/features/user/pages/settings.page.ts +284 -0
  378. package/dist/templates/frontend/angular-base/src/app/features/user/routes.ts +21 -0
  379. package/dist/templates/frontend/angular-base/src/app/features/user/services/user.service.ts +74 -0
  380. package/dist/templates/frontend/angular-base/src/app/layout/footer/footer.component.spec.ts +25 -0
  381. package/dist/templates/frontend/angular-base/src/app/layout/footer/footer.component.ts +67 -0
  382. package/dist/templates/frontend/angular-base/src/app/layout/index.ts +3 -0
  383. package/dist/templates/frontend/angular-base/src/app/layout/main-layout/main-layout.component.spec.ts +23 -0
  384. package/dist/templates/frontend/angular-base/src/app/layout/main-layout/main-layout.component.ts +30 -0
  385. package/dist/templates/frontend/angular-base/src/app/layout/navbar/navbar.component.spec.ts +23 -0
  386. package/dist/templates/frontend/angular-base/src/app/layout/navbar/navbar.component.ts +293 -0
  387. package/dist/templates/frontend/angular-base/src/app/shared/components/badge/badge.component.spec.ts +36 -0
  388. package/dist/templates/frontend/angular-base/src/app/shared/components/badge/badge.component.ts +70 -0
  389. package/dist/templates/frontend/angular-base/src/app/shared/components/button/button.component.spec.ts +44 -0
  390. package/dist/templates/frontend/angular-base/src/app/shared/components/button/button.component.ts +64 -0
  391. package/dist/templates/frontend/angular-base/src/app/shared/components/card/card.component.spec.ts +29 -0
  392. package/dist/templates/frontend/angular-base/src/app/shared/components/card/card.component.ts +60 -0
  393. package/dist/templates/frontend/angular-base/src/app/shared/components/data-table/data-table.component.spec.ts +49 -0
  394. package/dist/templates/frontend/angular-base/src/app/shared/components/data-table/data-table.component.ts +280 -0
  395. package/dist/templates/frontend/angular-base/src/app/shared/components/empty-state/empty-state.component.spec.ts +36 -0
  396. package/dist/templates/frontend/angular-base/src/app/shared/components/empty-state/empty-state.component.ts +56 -0
  397. package/dist/templates/frontend/angular-base/src/app/shared/components/modal/modal.component.spec.ts +32 -0
  398. package/dist/templates/frontend/angular-base/src/app/shared/components/modal/modal.component.ts +131 -0
  399. package/dist/templates/frontend/angular-base/src/app/shared/components/pagination/pagination.component.spec.ts +38 -0
  400. package/dist/templates/frontend/angular-base/src/app/shared/components/pagination/pagination.component.ts +194 -0
  401. package/dist/templates/frontend/angular-base/src/app/shared/components/search-input/search-input.component.spec.ts +37 -0
  402. package/dist/templates/frontend/angular-base/src/app/shared/components/search-input/search-input.component.ts +125 -0
  403. package/dist/templates/frontend/angular-base/src/app/shared/components/skeleton-loader/skeleton-loader.component.spec.ts +30 -0
  404. package/dist/templates/frontend/angular-base/src/app/shared/components/skeleton-loader/skeleton-loader.component.ts +55 -0
  405. package/dist/templates/frontend/angular-base/src/app/shared/components/toggle/toggle.component.spec.ts +49 -0
  406. package/dist/templates/frontend/angular-base/src/app/shared/components/toggle/toggle.component.ts +101 -0
  407. package/dist/templates/frontend/angular-base/src/app/shared/components/user-dropdown/user-dropdown.component.spec.ts +65 -0
  408. package/dist/templates/frontend/angular-base/src/app/shared/components/user-dropdown/user-dropdown.component.ts +219 -0
  409. package/dist/templates/frontend/angular-base/src/app/shared/directives/auto-focus.directive.spec.ts +33 -0
  410. package/dist/templates/frontend/angular-base/src/app/shared/directives/auto-focus.directive.ts +25 -0
  411. package/dist/templates/frontend/angular-base/src/app/shared/index.ts +18 -0
  412. package/dist/templates/frontend/angular-base/src/app/shared/pipes/date-format.pipe.spec.ts +29 -0
  413. package/dist/templates/frontend/angular-base/src/app/shared/pipes/date-format.pipe.ts +39 -0
  414. package/dist/templates/frontend/angular-base/src/environments/environment.development.ts +4 -0
  415. package/dist/templates/frontend/angular-base/src/environments/environment.ts +4 -0
  416. package/dist/templates/frontend/angular-base/src/index.html +44 -0
  417. package/dist/templates/frontend/angular-base/src/main.server.ts +7 -0
  418. package/dist/templates/frontend/angular-base/src/main.ts +5 -0
  419. package/dist/templates/frontend/angular-base/src/server.ts +66 -0
  420. package/dist/templates/frontend/angular-base/src/styles.css +209 -0
  421. package/dist/templates/frontend/angular-base/src/test-setup.ts +10 -0
  422. package/dist/templates/frontend/angular-base/tsconfig.app.json +17 -0
  423. package/dist/templates/frontend/angular-base/tsconfig.json +41 -0
  424. package/dist/templates/frontend/angular-base/tsconfig.spec.json +15 -0
  425. package/dist/templates/frontend/angular-base/vitest.config.ts +25 -0
  426. package/dist/templates/frontend/react-vite/.cursor/skills/architecture/SKILL.md +26 -0
  427. package/dist/templates/frontend/react-vite/.cursor/skills/components-shadcn/SKILL.md +23 -0
  428. package/dist/templates/frontend/react-vite/.cursor/skills/daisyui/SKILL.md +98 -0
  429. package/dist/templates/frontend/react-vite/.cursor/skills/routing/SKILL.md +32 -0
  430. package/dist/templates/frontend/react-vite/.cursor/skills/testing/SKILL.md +55 -0
  431. package/dist/templates/frontend/react-vite/.cursor/skills/tooling-and-scripts/SKILL.md +24 -0
  432. package/dist/templates/frontend/react-vite/.cursor/skills/ui-and-styling/SKILL.md +32 -0
  433. package/dist/templates/frontend/react-vite/.cursor/skills/vibe-and-ia/SKILL.md +23 -0
  434. package/dist/templates/frontend/react-vite/.prettierrc +6 -0
  435. package/dist/templates/frontend/react-vite/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +9 -0
  436. package/dist/templates/frontend/react-vite/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +9 -0
  437. package/dist/templates/frontend/react-vite/.vscode/extensions.json +7 -0
  438. package/dist/templates/frontend/react-vite/README.md +75 -0
  439. package/dist/templates/frontend/react-vite/components.json +22 -0
  440. package/dist/templates/frontend/react-vite/eslint.config.js +31 -0
  441. package/dist/templates/frontend/react-vite/index.html +13 -0
  442. package/dist/templates/frontend/react-vite/package.json +62 -0
  443. package/dist/templates/frontend/react-vite/pnpm-lock.yaml +4487 -0
  444. package/dist/templates/frontend/react-vite/pnpm-workspace.yaml +2 -0
  445. package/dist/templates/frontend/react-vite/src/assets/react.svg +1 -0
  446. package/dist/templates/frontend/react-vite/src/components/ui/badge.tsx +37 -0
  447. package/dist/templates/frontend/react-vite/src/components/ui/breadcrumb.tsx +106 -0
  448. package/dist/templates/frontend/react-vite/src/components/ui/button.tsx +58 -0
  449. package/dist/templates/frontend/react-vite/src/components/ui/card.tsx +72 -0
  450. package/dist/templates/frontend/react-vite/src/components/ui/form.tsx +165 -0
  451. package/dist/templates/frontend/react-vite/src/components/ui/input.tsx +22 -0
  452. package/dist/templates/frontend/react-vite/src/components/ui/label.tsx +24 -0
  453. package/dist/templates/frontend/react-vite/src/components/ui/password-input.tsx +41 -0
  454. package/dist/templates/frontend/react-vite/src/components/ui/separator.tsx +28 -0
  455. package/dist/templates/frontend/react-vite/src/components/ui/tabs.tsx +62 -0
  456. package/dist/templates/frontend/react-vite/src/components/ui/textarea.tsx +21 -0
  457. package/dist/templates/frontend/react-vite/src/index.css +104 -0
  458. package/dist/templates/frontend/react-vite/src/lib/queryClient.ts +11 -0
  459. package/dist/templates/frontend/react-vite/src/lib/utils.ts +6 -0
  460. package/dist/templates/frontend/react-vite/src/main.tsx +33 -0
  461. package/dist/templates/frontend/react-vite/src/routeTree.gen.ts +77 -0
  462. package/dist/templates/frontend/react-vite/src/router.tsx +13 -0
  463. package/dist/templates/frontend/react-vite/src/routes/__root.tsx +82 -0
  464. package/dist/templates/frontend/react-vite/src/routes/index.tsx +187 -0
  465. package/dist/templates/frontend/react-vite/src/routes/otra-ruta.tsx +319 -0
  466. package/dist/templates/frontend/react-vite/src/test/setup.ts +1 -0
  467. package/dist/templates/frontend/react-vite/tsconfig.app.json +34 -0
  468. package/dist/templates/frontend/react-vite/tsconfig.json +10 -0
  469. package/dist/templates/frontend/react-vite/tsconfig.node.json +26 -0
  470. package/dist/templates/frontend/react-vite/vite.config.ts +22 -0
  471. package/dist/templates/frontend/react-vite/vitest.config.ts +9 -0
  472. package/dist/templates/frontend/react-vite-help/.cursor/skills/architecture/SKILL.md +26 -0
  473. package/dist/templates/frontend/react-vite-help/.cursor/skills/components-shadcn/SKILL.md +23 -0
  474. package/dist/templates/frontend/react-vite-help/.cursor/skills/daisyui/SKILL.md +98 -0
  475. package/dist/templates/frontend/react-vite-help/.cursor/skills/routing/SKILL.md +32 -0
  476. package/dist/templates/frontend/react-vite-help/.cursor/skills/testing/SKILL.md +55 -0
  477. package/dist/templates/frontend/react-vite-help/.cursor/skills/tooling-and-scripts/SKILL.md +24 -0
  478. package/dist/templates/frontend/react-vite-help/.cursor/skills/ui-and-styling/SKILL.md +32 -0
  479. package/dist/templates/frontend/react-vite-help/.cursor/skills/vibe-and-ia/SKILL.md +23 -0
  480. package/dist/templates/frontend/react-vite-help/.prettierrc +6 -0
  481. package/dist/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +9 -0
  482. package/dist/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +9 -0
  483. package/dist/templates/frontend/react-vite-help/.vscode/extensions.json +7 -0
  484. package/dist/templates/frontend/react-vite-help/README.md +75 -0
  485. package/dist/templates/frontend/react-vite-help/components.json +22 -0
  486. package/dist/templates/frontend/react-vite-help/eslint.config.js +31 -0
  487. package/dist/templates/frontend/react-vite-help/index.html +13 -0
  488. package/dist/templates/frontend/react-vite-help/package.json +62 -0
  489. package/dist/templates/frontend/react-vite-help/pnpm-lock.yaml +4487 -0
  490. package/dist/templates/frontend/react-vite-help/pnpm-workspace.yaml +2 -0
  491. package/dist/templates/frontend/react-vite-help/src/assets/react.svg +1 -0
  492. package/dist/templates/frontend/react-vite-help/src/components/documentacion/entorno.tsx +99 -0
  493. package/dist/templates/frontend/react-vite-help/src/components/documentacion/estructura.tsx +100 -0
  494. package/dist/templates/frontend/react-vite-help/src/components/documentacion/figma-mcp.tsx +200 -0
  495. package/dist/templates/frontend/react-vite-help/src/components/documentacion/inicio.tsx +69 -0
  496. package/dist/templates/frontend/react-vite-help/src/components/documentacion/instalacion.tsx +72 -0
  497. package/dist/templates/frontend/react-vite-help/src/components/documentacion/personalizacion.tsx +163 -0
  498. package/dist/templates/frontend/react-vite-help/src/components/documentacion/rutas.tsx +138 -0
  499. package/dist/templates/frontend/react-vite-help/src/components/documentacion/stack.tsx +401 -0
  500. package/dist/templates/frontend/react-vite-help/src/components/ui/badge.tsx +37 -0
  501. package/dist/templates/frontend/react-vite-help/src/components/ui/breadcrumb.tsx +106 -0
  502. package/dist/templates/frontend/react-vite-help/src/components/ui/button.tsx +58 -0
  503. package/dist/templates/frontend/react-vite-help/src/components/ui/card.tsx +72 -0
  504. package/dist/templates/frontend/react-vite-help/src/components/ui/form.tsx +165 -0
  505. package/dist/templates/frontend/react-vite-help/src/components/ui/input.tsx +22 -0
  506. package/dist/templates/frontend/react-vite-help/src/components/ui/label.tsx +24 -0
  507. package/dist/templates/frontend/react-vite-help/src/components/ui/password-input.tsx +41 -0
  508. package/dist/templates/frontend/react-vite-help/src/components/ui/separator.tsx +28 -0
  509. package/dist/templates/frontend/react-vite-help/src/components/ui/tabs.tsx +62 -0
  510. package/dist/templates/frontend/react-vite-help/src/components/ui/textarea.tsx +21 -0
  511. package/dist/templates/frontend/react-vite-help/src/data/proyectos.json +56 -0
  512. package/dist/templates/frontend/react-vite-help/src/index.css +104 -0
  513. package/dist/templates/frontend/react-vite-help/src/lib/queryClient.ts +11 -0
  514. package/dist/templates/frontend/react-vite-help/src/lib/utils.ts +6 -0
  515. package/dist/templates/frontend/react-vite-help/src/main.tsx +33 -0
  516. package/dist/templates/frontend/react-vite-help/src/routeTree.gen.ts +241 -0
  517. package/dist/templates/frontend/react-vite-help/src/router.tsx +13 -0
  518. package/dist/templates/frontend/react-vite-help/src/routes/__root.tsx +92 -0
  519. package/dist/templates/frontend/react-vite-help/src/routes/auth/iniciar-sesion.tsx +139 -0
  520. package/dist/templates/frontend/react-vite-help/src/routes/auth/registro.tsx +205 -0
  521. package/dist/templates/frontend/react-vite-help/src/routes/contacto.tsx +60 -0
  522. package/dist/templates/frontend/react-vite-help/src/routes/dashbord.tsx +9 -0
  523. package/dist/templates/frontend/react-vite-help/src/routes/documentacion.tsx +80 -0
  524. package/dist/templates/frontend/react-vite-help/src/routes/index.test.tsx +42 -0
  525. package/dist/templates/frontend/react-vite-help/src/routes/index.tsx +211 -0
  526. package/dist/templates/frontend/react-vite-help/src/routes/perfil.tsx +9 -0
  527. package/dist/templates/frontend/react-vite-help/src/routes/proyectos.$proyectoId.tsx +156 -0
  528. package/dist/templates/frontend/react-vite-help/src/routes/proyectos.tsx +93 -0
  529. package/dist/templates/frontend/react-vite-help/src/test/setup.ts +1 -0
  530. package/dist/templates/frontend/react-vite-help/tsconfig.app.json +34 -0
  531. package/dist/templates/frontend/react-vite-help/tsconfig.json +10 -0
  532. package/dist/templates/frontend/react-vite-help/tsconfig.node.json +26 -0
  533. package/dist/templates/frontend/react-vite-help/vite.config.ts +22 -0
  534. package/dist/templates/frontend/react-vite-help/vitest.config.ts +9 -0
  535. package/dist/templates/mobile/.gitkeep +1 -0
  536. package/dist/templates/mobile/expo-base/.cursor/rules/general-rules.mdc +231 -0
  537. package/dist/templates/mobile/expo-base/.cursor/rules/react-native-rules.mdc +1348 -0
  538. package/dist/templates/mobile/expo-base/.env +1 -0
  539. package/dist/templates/mobile/expo-base/.husky/commit-msg +4 -0
  540. package/dist/templates/mobile/expo-base/.husky/pre-commit +1 -0
  541. package/dist/templates/mobile/expo-base/.lintstagedrc.js +25 -0
  542. package/dist/templates/mobile/expo-base/.prettierignore +10 -0
  543. package/dist/templates/mobile/expo-base/.prettierrc +11 -0
  544. package/dist/templates/mobile/expo-base/.vscode/extensions.json +1 -0
  545. package/dist/templates/mobile/expo-base/.vscode/settings.json +7 -0
  546. package/dist/templates/mobile/expo-base/CHANGELOG.md +155 -0
  547. package/dist/templates/mobile/expo-base/IMPLEMENTATION_SUMMARY.md +413 -0
  548. package/dist/templates/mobile/expo-base/README.md +510 -0
  549. package/dist/templates/mobile/expo-base/SETUP_NOTES.md +233 -0
  550. package/dist/templates/mobile/expo-base/TEMPLATE_USAGE.md +623 -0
  551. package/dist/templates/mobile/expo-base/WARP.md +123 -0
  552. package/dist/templates/mobile/expo-base/app/(public)/_layout.tsx +21 -0
  553. package/dist/templates/mobile/expo-base/app/(public)/forgot-password.tsx +3 -0
  554. package/dist/templates/mobile/expo-base/app/(public)/login.tsx +3 -0
  555. package/dist/templates/mobile/expo-base/app/(public)/register.tsx +3 -0
  556. package/dist/templates/mobile/expo-base/app/(tabs)/_layout.tsx +60 -0
  557. package/dist/templates/mobile/expo-base/app/(tabs)/explore.tsx +235 -0
  558. package/dist/templates/mobile/expo-base/app/(tabs)/index.tsx +290 -0
  559. package/dist/templates/mobile/expo-base/app/(tabs)/profile.tsx +3 -0
  560. package/dist/templates/mobile/expo-base/app/_layout.tsx +143 -0
  561. package/dist/templates/mobile/expo-base/app/modal.tsx +29 -0
  562. package/dist/templates/mobile/expo-base/app/onboarding.tsx +3 -0
  563. package/dist/templates/mobile/expo-base/app/profile/_layout.tsx +44 -0
  564. package/dist/templates/mobile/expo-base/app/profile/change-password.tsx +3 -0
  565. package/dist/templates/mobile/expo-base/app/profile/edit.tsx +3 -0
  566. package/dist/templates/mobile/expo-base/app/settings/_layout.tsx +62 -0
  567. package/dist/templates/mobile/expo-base/app/settings/about.tsx +3 -0
  568. package/dist/templates/mobile/expo-base/app/settings/index.tsx +3 -0
  569. package/dist/templates/mobile/expo-base/app/settings/language.tsx +3 -0
  570. package/dist/templates/mobile/expo-base/app/settings/notifications.tsx +3 -0
  571. package/dist/templates/mobile/expo-base/app/settings/theme.tsx +3 -0
  572. package/dist/templates/mobile/expo-base/app.json +31 -0
  573. package/dist/templates/mobile/expo-base/commitlint.config.js +50 -0
  574. package/dist/templates/mobile/expo-base/docs/ARCHITECTURE.md +565 -0
  575. package/dist/templates/mobile/expo-base/docs/CI_CD.md +461 -0
  576. package/dist/templates/mobile/expo-base/docs/COMPONENTS.md +1103 -0
  577. package/dist/templates/mobile/expo-base/docs/CONTRIBUTING.md +733 -0
  578. package/dist/templates/mobile/expo-base/docs/DESIGN_TOKENS.md +832 -0
  579. package/dist/templates/mobile/expo-base/docs/GIT_CONVENTIONS.md +411 -0
  580. package/dist/templates/mobile/expo-base/docs/I18N.md +701 -0
  581. package/dist/templates/mobile/expo-base/docs/TESTING.md +565 -0
  582. package/dist/templates/mobile/expo-base/docs/THEMING.md +753 -0
  583. package/dist/templates/mobile/expo-base/docs/VERSIONING.md +518 -0
  584. package/dist/templates/mobile/expo-base/eslint.config.js +180 -0
  585. package/dist/templates/mobile/expo-base/jest.config.js +51 -0
  586. package/dist/templates/mobile/expo-base/jest.setup.js +106 -0
  587. package/dist/templates/mobile/expo-base/package.json +74 -0
  588. package/dist/templates/mobile/expo-base/pnpm-lock.yaml +11354 -0
  589. package/dist/templates/mobile/expo-base/pnpm-workspace.yaml +4 -0
  590. package/dist/templates/mobile/expo-base/src/__tests__/helpers/test-utils.tsx +77 -0
  591. package/dist/templates/mobile/expo-base/src/__tests__/mocks/api.ts +65 -0
  592. package/dist/templates/mobile/expo-base/src/__tests__/mocks/i18n.ts +22 -0
  593. package/dist/templates/mobile/expo-base/src/__tests__/mocks/index.ts +7 -0
  594. package/dist/templates/mobile/expo-base/src/__tests__/mocks/navigation.ts +47 -0
  595. package/dist/templates/mobile/expo-base/src/__tests__/mocks/theme.ts +46 -0
  596. package/dist/templates/mobile/expo-base/src/assets/images/android-icon-background.png +0 -0
  597. package/dist/templates/mobile/expo-base/src/assets/images/android-icon-foreground.png +0 -0
  598. package/dist/templates/mobile/expo-base/src/assets/images/android-icon-monochrome.png +0 -0
  599. package/dist/templates/mobile/expo-base/src/assets/images/favicon.png +0 -0
  600. package/dist/templates/mobile/expo-base/src/assets/images/icon.png +0 -0
  601. package/dist/templates/mobile/expo-base/src/assets/images/partial-react-logo.png +0 -0
  602. package/dist/templates/mobile/expo-base/src/assets/images/react-logo.png +0 -0
  603. package/dist/templates/mobile/expo-base/src/assets/images/react-logo@2x.png +0 -0
  604. package/dist/templates/mobile/expo-base/src/assets/images/react-logo@3x.png +0 -0
  605. package/dist/templates/mobile/expo-base/src/assets/images/splash-icon.png +0 -0
  606. package/dist/templates/mobile/expo-base/src/components/external-link.tsx +25 -0
  607. package/dist/templates/mobile/expo-base/src/components/feedback/empty-state.tsx +150 -0
  608. package/dist/templates/mobile/expo-base/src/components/feedback/error-boundary.tsx +145 -0
  609. package/dist/templates/mobile/expo-base/src/components/feedback/error-screen.tsx +121 -0
  610. package/dist/templates/mobile/expo-base/src/components/feedback/index.ts +11 -0
  611. package/dist/templates/mobile/expo-base/src/components/feedback/loading.tsx +155 -0
  612. package/dist/templates/mobile/expo-base/src/components/haptic-tab.tsx +18 -0
  613. package/dist/templates/mobile/expo-base/src/components/hello-wave.tsx +19 -0
  614. package/dist/templates/mobile/expo-base/src/components/layout/column.tsx +49 -0
  615. package/dist/templates/mobile/expo-base/src/components/layout/container.tsx +41 -0
  616. package/dist/templates/mobile/expo-base/src/components/layout/index.ts +14 -0
  617. package/dist/templates/mobile/expo-base/src/components/layout/row.tsx +52 -0
  618. package/dist/templates/mobile/expo-base/src/components/layout/screen.tsx +110 -0
  619. package/dist/templates/mobile/expo-base/src/components/layout/section.tsx +37 -0
  620. package/dist/templates/mobile/expo-base/src/components/parallax-scroll-view.tsx +79 -0
  621. package/dist/templates/mobile/expo-base/src/components/themed-text.tsx +60 -0
  622. package/dist/templates/mobile/expo-base/src/components/themed-view.tsx +14 -0
  623. package/dist/templates/mobile/expo-base/src/components/ui/__tests__/button.test.tsx +206 -0
  624. package/dist/templates/mobile/expo-base/src/components/ui/avatar.tsx +141 -0
  625. package/dist/templates/mobile/expo-base/src/components/ui/badge.tsx +175 -0
  626. package/dist/templates/mobile/expo-base/src/components/ui/button.tsx +247 -0
  627. package/dist/templates/mobile/expo-base/src/components/ui/card.tsx +127 -0
  628. package/dist/templates/mobile/expo-base/src/components/ui/collapsible.tsx +45 -0
  629. package/dist/templates/mobile/expo-base/src/components/ui/divider.tsx +50 -0
  630. package/dist/templates/mobile/expo-base/src/components/ui/icon-symbol.ios.tsx +32 -0
  631. package/dist/templates/mobile/expo-base/src/components/ui/icon-symbol.tsx +41 -0
  632. package/dist/templates/mobile/expo-base/src/components/ui/icon.tsx +137 -0
  633. package/dist/templates/mobile/expo-base/src/components/ui/index.ts +20 -0
  634. package/dist/templates/mobile/expo-base/src/components/ui/input.tsx +242 -0
  635. package/dist/templates/mobile/expo-base/src/constants/theme.ts +53 -0
  636. package/dist/templates/mobile/expo-base/src/contexts/auth-context.tsx +246 -0
  637. package/dist/templates/mobile/expo-base/src/contexts/index.ts +8 -0
  638. package/dist/templates/mobile/expo-base/src/contexts/query-client.tsx +43 -0
  639. package/dist/templates/mobile/expo-base/src/contexts/theme-context.tsx +111 -0
  640. package/dist/templates/mobile/expo-base/src/features/auth/forgot-password-screen.tsx +164 -0
  641. package/dist/templates/mobile/expo-base/src/features/auth/index.ts +7 -0
  642. package/dist/templates/mobile/expo-base/src/features/auth/login-screen.tsx +177 -0
  643. package/dist/templates/mobile/expo-base/src/features/auth/register-screen.tsx +220 -0
  644. package/dist/templates/mobile/expo-base/src/features/onboarding/README.md +190 -0
  645. package/dist/templates/mobile/expo-base/src/features/onboarding/index.ts +7 -0
  646. package/dist/templates/mobile/expo-base/src/features/onboarding/onboarding-debug.tsx +120 -0
  647. package/dist/templates/mobile/expo-base/src/features/onboarding/onboarding-screen.tsx +242 -0
  648. package/dist/templates/mobile/expo-base/src/features/onboarding/onboarding-utils.ts +49 -0
  649. package/dist/templates/mobile/expo-base/src/features/profile/change-password-screen.tsx +154 -0
  650. package/dist/templates/mobile/expo-base/src/features/profile/edit-profile-screen.tsx +183 -0
  651. package/dist/templates/mobile/expo-base/src/features/profile/index.ts +7 -0
  652. package/dist/templates/mobile/expo-base/src/features/profile/profile-screen.tsx +177 -0
  653. package/dist/templates/mobile/expo-base/src/features/settings/about-screen.tsx +167 -0
  654. package/dist/templates/mobile/expo-base/src/features/settings/index.ts +9 -0
  655. package/dist/templates/mobile/expo-base/src/features/settings/language-settings-screen.tsx +97 -0
  656. package/dist/templates/mobile/expo-base/src/features/settings/notifications-settings-screen.tsx +128 -0
  657. package/dist/templates/mobile/expo-base/src/features/settings/settings-screen.tsx +141 -0
  658. package/dist/templates/mobile/expo-base/src/features/settings/theme-settings-screen.tsx +149 -0
  659. package/dist/templates/mobile/expo-base/src/hooks/__tests__/use-theme.test.ts +151 -0
  660. package/dist/templates/mobile/expo-base/src/hooks/index.ts +13 -0
  661. package/dist/templates/mobile/expo-base/src/hooks/use-api.ts +206 -0
  662. package/dist/templates/mobile/expo-base/src/hooks/use-auth.ts +7 -0
  663. package/dist/templates/mobile/expo-base/src/hooks/use-color-scheme.ts +19 -0
  664. package/dist/templates/mobile/expo-base/src/hooks/use-color-scheme.web.ts +31 -0
  665. package/dist/templates/mobile/expo-base/src/hooks/use-theme-color.ts +21 -0
  666. package/dist/templates/mobile/expo-base/src/hooks/use-theme.ts +60 -0
  667. package/dist/templates/mobile/expo-base/src/hooks/use-translation.ts +48 -0
  668. package/dist/templates/mobile/expo-base/src/i18n/index.ts +113 -0
  669. package/dist/templates/mobile/expo-base/src/i18n/locales/en-US.json +134 -0
  670. package/dist/templates/mobile/expo-base/src/i18n/locales/es-AR.json +134 -0
  671. package/dist/templates/mobile/expo-base/src/scripts/reset-project.js +112 -0
  672. package/dist/templates/mobile/expo-base/src/services/api/client.ts +190 -0
  673. package/dist/templates/mobile/expo-base/src/services/api/endpoints.ts +45 -0
  674. package/dist/templates/mobile/expo-base/src/services/api/index.ts +7 -0
  675. package/dist/templates/mobile/expo-base/src/services/storage/secure-storage.ts +56 -0
  676. package/dist/templates/mobile/expo-base/src/theme/colors.ts +147 -0
  677. package/dist/templates/mobile/expo-base/src/theme/index.ts +40 -0
  678. package/dist/templates/mobile/expo-base/src/theme/semantic-colors.ts +221 -0
  679. package/dist/templates/mobile/expo-base/src/theme/shadows.ts +123 -0
  680. package/dist/templates/mobile/expo-base/src/theme/spacing.ts +118 -0
  681. package/dist/templates/mobile/expo-base/src/theme/theme-config.ts +111 -0
  682. package/dist/templates/mobile/expo-base/src/theme/tokens.ts +218 -0
  683. package/dist/templates/mobile/expo-base/src/theme/typography.ts +152 -0
  684. package/dist/templates/mobile/expo-base/src/types/index.ts +6 -0
  685. package/dist/templates/mobile/expo-base/src/types/models.ts +153 -0
  686. package/dist/templates/mobile/expo-base/src/types/navigation.ts +67 -0
  687. package/dist/templates/mobile/expo-base/src/utils/__tests__/validators.test.ts +312 -0
  688. package/dist/templates/mobile/expo-base/src/utils/constants.ts +167 -0
  689. package/dist/templates/mobile/expo-base/src/utils/formatters.ts +222 -0
  690. package/dist/templates/mobile/expo-base/src/utils/index.ts +7 -0
  691. package/dist/templates/mobile/expo-base/src/utils/validators.ts +187 -0
  692. package/dist/templates/mobile/expo-base/tsconfig.json +26 -0
  693. package/dist/test-cli.js +40 -0
  694. package/dist/types/index.js +1 -0
  695. package/package.json +25 -0
  696. package/templates/backend/.gitkeep +1 -0
  697. package/templates/backend/nestjs-api-postgres/.cursor/commands/new-endpoint.md +209 -0
  698. package/templates/backend/nestjs-api-postgres/.cursor/commands/new-model.md +201 -0
  699. package/templates/backend/nestjs-api-postgres/.cursor/rules/api-rest.mdc +126 -0
  700. package/templates/backend/nestjs-api-postgres/.cursor/rules/authentication-security.mdc +86 -0
  701. package/templates/backend/nestjs-api-postgres/.cursor/rules/dto-validation.mdc +93 -0
  702. package/templates/backend/nestjs-api-postgres/.cursor/rules/general-rules.mdc +126 -0
  703. package/templates/backend/nestjs-api-postgres/.cursor/rules/nestjs-architecture.mdc +83 -0
  704. package/templates/backend/nestjs-api-postgres/.cursor/rules/prisma-standards.mdc +90 -0
  705. package/templates/backend/nestjs-api-postgres/.cursor/rules/swagger-documentation.mdc +90 -0
  706. package/templates/backend/nestjs-api-postgres/.cursor/skills/api-security-best-practices/SKILL.md +907 -0
  707. package/templates/backend/nestjs-api-postgres/.cursor/skills/docker-expert/SKILL.md +409 -0
  708. package/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-expert/SKILL.md +552 -0
  709. package/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-the-best-practices/AGENTS.md +5958 -0
  710. package/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-the-best-practices/SKILL.md +130 -0
  711. package/templates/backend/nestjs-api-postgres/.cursor/skills/nodejs-best-practices/SKILL.md +333 -0
  712. package/templates/backend/nestjs-api-postgres/.cursor/skills/postgresql-table-design/SKILL.md +202 -0
  713. package/templates/backend/nestjs-api-postgres/.cursor/skills/prisma-expert/SKILL.md +355 -0
  714. package/templates/backend/nestjs-api-postgres/.dockerignore +50 -0
  715. package/templates/backend/nestjs-api-postgres/.env.example +18 -0
  716. package/templates/backend/nestjs-api-postgres/.env.test +18 -0
  717. package/templates/backend/nestjs-api-postgres/.prettierrc +4 -0
  718. package/templates/backend/nestjs-api-postgres/README.md +1502 -0
  719. package/templates/backend/nestjs-api-postgres/docker-compose.yml +24 -0
  720. package/templates/backend/nestjs-api-postgres/eslint.config.mjs +41 -0
  721. package/templates/backend/nestjs-api-postgres/nest-cli.json +8 -0
  722. package/templates/backend/nestjs-api-postgres/package.json +107 -0
  723. package/templates/backend/nestjs-api-postgres/prisma/migrations/20260126125423_init/migration.sql +84 -0
  724. package/templates/backend/nestjs-api-postgres/prisma/migrations/migration_lock.toml +3 -0
  725. package/templates/backend/nestjs-api-postgres/prisma/schema.prisma +76 -0
  726. package/templates/backend/nestjs-api-postgres/prisma/seed.ts +220 -0
  727. package/templates/backend/nestjs-api-postgres/prisma.config.ts +10 -0
  728. package/templates/backend/nestjs-api-postgres/src/app.module.ts +39 -0
  729. package/templates/backend/nestjs-api-postgres/src/app.service.ts +8 -0
  730. package/templates/backend/nestjs-api-postgres/src/auth/auth.controller.ts +36 -0
  731. package/templates/backend/nestjs-api-postgres/src/auth/auth.module.ts +22 -0
  732. package/templates/backend/nestjs-api-postgres/src/auth/auth.service.ts +63 -0
  733. package/templates/backend/nestjs-api-postgres/src/auth/decorators/roles.decorator.ts +5 -0
  734. package/templates/backend/nestjs-api-postgres/src/auth/dto/login-response.dto.ts +23 -0
  735. package/templates/backend/nestjs-api-postgres/src/auth/dto/login.dto.ts +27 -0
  736. package/templates/backend/nestjs-api-postgres/src/auth/guards/jwt-auth.guard.ts +20 -0
  737. package/templates/backend/nestjs-api-postgres/src/auth/guards/roles.guard.ts +23 -0
  738. package/templates/backend/nestjs-api-postgres/src/auth/strategies/jwt.strategy.ts +32 -0
  739. package/templates/backend/nestjs-api-postgres/src/auth/types.ts +18 -0
  740. package/templates/backend/nestjs-api-postgres/src/common/dto/paginated-response.dto.ts +16 -0
  741. package/templates/backend/nestjs-api-postgres/src/common/dto/pagination.dto.ts +31 -0
  742. package/templates/backend/nestjs-api-postgres/src/common/filters/http-exception.filter.ts +53 -0
  743. package/templates/backend/nestjs-api-postgres/src/config/env.validation.ts +41 -0
  744. package/templates/backend/nestjs-api-postgres/src/health/health.controller.ts +35 -0
  745. package/templates/backend/nestjs-api-postgres/src/health/health.module.ts +7 -0
  746. package/templates/backend/nestjs-api-postgres/src/main.ts +87 -0
  747. package/templates/backend/nestjs-api-postgres/src/posts/dto/create-post.dto.ts +32 -0
  748. package/templates/backend/nestjs-api-postgres/src/posts/dto/post-response.dto.ts +41 -0
  749. package/templates/backend/nestjs-api-postgres/src/posts/dto/update-post.dto.ts +31 -0
  750. package/templates/backend/nestjs-api-postgres/src/posts/posts.controller.ts +161 -0
  751. package/templates/backend/nestjs-api-postgres/src/posts/posts.module.ts +12 -0
  752. package/templates/backend/nestjs-api-postgres/src/posts/posts.service.ts +171 -0
  753. package/templates/backend/nestjs-api-postgres/src/prisma/prisma.module.ts +9 -0
  754. package/templates/backend/nestjs-api-postgres/src/prisma/prisma.service.ts +27 -0
  755. package/templates/backend/nestjs-api-postgres/src/users/constants/settings.constants.ts +9 -0
  756. package/templates/backend/nestjs-api-postgres/src/users/dto/profile-response.dto.ts +39 -0
  757. package/templates/backend/nestjs-api-postgres/src/users/dto/settings-response.dto.ts +18 -0
  758. package/templates/backend/nestjs-api-postgres/src/users/dto/update-profile.dto.ts +48 -0
  759. package/templates/backend/nestjs-api-postgres/src/users/dto/update-settings.dto.ts +40 -0
  760. package/templates/backend/nestjs-api-postgres/src/users/dto/user-response.dto.ts +18 -0
  761. package/templates/backend/nestjs-api-postgres/src/users/profile.service.ts +49 -0
  762. package/templates/backend/nestjs-api-postgres/src/users/settings.service.ts +82 -0
  763. package/templates/backend/nestjs-api-postgres/src/users/users.controller.ts +102 -0
  764. package/templates/backend/nestjs-api-postgres/src/users/users.module.ts +14 -0
  765. package/templates/backend/nestjs-api-postgres/src/users/users.service.ts +27 -0
  766. package/templates/backend/nestjs-api-postgres/test/README.md +412 -0
  767. package/templates/backend/nestjs-api-postgres/test/e2e/auth.e2e-spec.ts +147 -0
  768. package/templates/backend/nestjs-api-postgres/test/e2e/health.e2e-spec.ts +62 -0
  769. package/templates/backend/nestjs-api-postgres/test/e2e/posts.e2e-spec.ts +407 -0
  770. package/templates/backend/nestjs-api-postgres/test/e2e/users.e2e-spec.ts +287 -0
  771. package/templates/backend/nestjs-api-postgres/test/fixtures/test-data.ts +109 -0
  772. package/templates/backend/nestjs-api-postgres/test/helpers/auth.helper.ts +54 -0
  773. package/templates/backend/nestjs-api-postgres/test/helpers/db.helper.ts +73 -0
  774. package/templates/backend/nestjs-api-postgres/test/jest-e2e.json +12 -0
  775. package/templates/backend/nestjs-api-postgres/test/setup-e2e.ts +8 -0
  776. package/templates/backend/nestjs-api-postgres/test/unit/app.service.spec.ts +24 -0
  777. package/templates/backend/nestjs-api-postgres/test/unit/auth.controller.spec.ts +91 -0
  778. package/templates/backend/nestjs-api-postgres/test/unit/auth.service.spec.ts +161 -0
  779. package/templates/backend/nestjs-api-postgres/test/unit/health.controller.spec.ts +78 -0
  780. package/templates/backend/nestjs-api-postgres/test/unit/http-exception.filter.spec.ts +150 -0
  781. package/templates/backend/nestjs-api-postgres/test/unit/jwt-auth.guard.spec.ts +50 -0
  782. package/templates/backend/nestjs-api-postgres/test/unit/jwt.strategy.spec.ts +41 -0
  783. package/templates/backend/nestjs-api-postgres/test/unit/posts.controller.spec.ts +249 -0
  784. package/templates/backend/nestjs-api-postgres/test/unit/posts.service.spec.ts +328 -0
  785. package/templates/backend/nestjs-api-postgres/test/unit/profile.service.spec.ts +146 -0
  786. package/templates/backend/nestjs-api-postgres/test/unit/settings.service.spec.ts +242 -0
  787. package/templates/backend/nestjs-api-postgres/test/unit/users.controller.spec.ts +178 -0
  788. package/templates/backend/nestjs-api-postgres/test/unit/users.service.spec.ts +96 -0
  789. package/templates/backend/nestjs-api-postgres/tsconfig.build.json +4 -0
  790. package/templates/backend/nestjs-api-postgres/tsconfig.json +28 -0
  791. package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-endpoint.md +209 -0
  792. package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-model.md +201 -0
  793. package/templates/backend/nestjs-api-sqlite/.cursor/rules/api-rest.mdc +126 -0
  794. package/templates/backend/nestjs-api-sqlite/.cursor/rules/authentication-security.mdc +86 -0
  795. package/templates/backend/nestjs-api-sqlite/.cursor/rules/dto-validation.mdc +93 -0
  796. package/templates/backend/nestjs-api-sqlite/.cursor/rules/general-rules.mdc +126 -0
  797. package/templates/backend/nestjs-api-sqlite/.cursor/rules/nestjs-architecture.mdc +83 -0
  798. package/templates/backend/nestjs-api-sqlite/.cursor/rules/prisma-standards.mdc +90 -0
  799. package/templates/backend/nestjs-api-sqlite/.cursor/rules/swagger-documentation.mdc +90 -0
  800. package/templates/backend/nestjs-api-sqlite/.cursor/skills/api-security-best-practices/SKILL.md +907 -0
  801. package/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-expert/SKILL.md +552 -0
  802. package/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-the-best-practices/AGENTS.md +5958 -0
  803. package/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-the-best-practices/SKILL.md +130 -0
  804. package/templates/backend/nestjs-api-sqlite/.cursor/skills/nodejs-best-practices/SKILL.md +333 -0
  805. package/templates/backend/nestjs-api-sqlite/.cursor/skills/prisma-expert/SKILL.md +355 -0
  806. package/templates/backend/nestjs-api-sqlite/.env.example +4 -0
  807. package/templates/backend/nestjs-api-sqlite/.env.test +4 -0
  808. package/templates/backend/nestjs-api-sqlite/.prettierrc +4 -0
  809. package/templates/backend/nestjs-api-sqlite/README.md +1464 -0
  810. package/templates/backend/nestjs-api-sqlite/eslint.config.mjs +41 -0
  811. package/templates/backend/nestjs-api-sqlite/nest-cli.json +8 -0
  812. package/templates/backend/nestjs-api-sqlite/package.json +105 -0
  813. package/templates/backend/nestjs-api-sqlite/pnpm-lock.yaml +7630 -0
  814. package/templates/backend/nestjs-api-sqlite/prisma/migrations/20260123190258_init/migration.sql +12 -0
  815. package/templates/backend/nestjs-api-sqlite/prisma/migrations/20260123205000_add_roles_and_posts/migration.sql +32 -0
  816. package/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124163749_init_with_profile_and_settings/migration.sql +33 -0
  817. package/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124190929_add_render_model/migration.sql +13 -0
  818. package/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124200534_add_post_indexes/migration.sql +16 -0
  819. package/templates/backend/nestjs-api-sqlite/prisma/migrations/migration_lock.toml +3 -0
  820. package/templates/backend/nestjs-api-sqlite/prisma/schema.prisma +76 -0
  821. package/templates/backend/nestjs-api-sqlite/prisma/seed.ts +218 -0
  822. package/templates/backend/nestjs-api-sqlite/prisma.config.ts +10 -0
  823. package/templates/backend/nestjs-api-sqlite/src/app.module.ts +39 -0
  824. package/templates/backend/nestjs-api-sqlite/src/app.service.ts +8 -0
  825. package/templates/backend/nestjs-api-sqlite/src/auth/auth.controller.ts +36 -0
  826. package/templates/backend/nestjs-api-sqlite/src/auth/auth.module.ts +22 -0
  827. package/templates/backend/nestjs-api-sqlite/src/auth/auth.service.ts +63 -0
  828. package/templates/backend/nestjs-api-sqlite/src/auth/decorators/roles.decorator.ts +5 -0
  829. package/templates/backend/nestjs-api-sqlite/src/auth/dto/login-response.dto.ts +23 -0
  830. package/templates/backend/nestjs-api-sqlite/src/auth/dto/login.dto.ts +27 -0
  831. package/templates/backend/nestjs-api-sqlite/src/auth/guards/jwt-auth.guard.ts +20 -0
  832. package/templates/backend/nestjs-api-sqlite/src/auth/guards/roles.guard.ts +23 -0
  833. package/templates/backend/nestjs-api-sqlite/src/auth/strategies/jwt.strategy.ts +32 -0
  834. package/templates/backend/nestjs-api-sqlite/src/auth/types.ts +18 -0
  835. package/templates/backend/nestjs-api-sqlite/src/common/dto/paginated-response.dto.ts +16 -0
  836. package/templates/backend/nestjs-api-sqlite/src/common/dto/pagination.dto.ts +31 -0
  837. package/templates/backend/nestjs-api-sqlite/src/common/filters/http-exception.filter.ts +53 -0
  838. package/templates/backend/nestjs-api-sqlite/src/config/env.validation.ts +35 -0
  839. package/templates/backend/nestjs-api-sqlite/src/health/health.controller.ts +35 -0
  840. package/templates/backend/nestjs-api-sqlite/src/health/health.module.ts +7 -0
  841. package/templates/backend/nestjs-api-sqlite/src/main.ts +87 -0
  842. package/templates/backend/nestjs-api-sqlite/src/posts/dto/create-post.dto.ts +32 -0
  843. package/templates/backend/nestjs-api-sqlite/src/posts/dto/post-response.dto.ts +41 -0
  844. package/templates/backend/nestjs-api-sqlite/src/posts/dto/update-post.dto.ts +31 -0
  845. package/templates/backend/nestjs-api-sqlite/src/posts/posts.controller.ts +161 -0
  846. package/templates/backend/nestjs-api-sqlite/src/posts/posts.module.ts +12 -0
  847. package/templates/backend/nestjs-api-sqlite/src/posts/posts.service.ts +171 -0
  848. package/templates/backend/nestjs-api-sqlite/src/prisma/prisma.module.ts +9 -0
  849. package/templates/backend/nestjs-api-sqlite/src/prisma/prisma.service.ts +29 -0
  850. package/templates/backend/nestjs-api-sqlite/src/users/constants/settings.constants.ts +9 -0
  851. package/templates/backend/nestjs-api-sqlite/src/users/dto/profile-response.dto.ts +39 -0
  852. package/templates/backend/nestjs-api-sqlite/src/users/dto/settings-response.dto.ts +18 -0
  853. package/templates/backend/nestjs-api-sqlite/src/users/dto/update-profile.dto.ts +48 -0
  854. package/templates/backend/nestjs-api-sqlite/src/users/dto/update-settings.dto.ts +40 -0
  855. package/templates/backend/nestjs-api-sqlite/src/users/dto/user-response.dto.ts +18 -0
  856. package/templates/backend/nestjs-api-sqlite/src/users/profile.service.ts +49 -0
  857. package/templates/backend/nestjs-api-sqlite/src/users/settings.service.ts +82 -0
  858. package/templates/backend/nestjs-api-sqlite/src/users/users.controller.ts +102 -0
  859. package/templates/backend/nestjs-api-sqlite/src/users/users.module.ts +14 -0
  860. package/templates/backend/nestjs-api-sqlite/src/users/users.service.ts +27 -0
  861. package/templates/backend/nestjs-api-sqlite/test/README.md +412 -0
  862. package/templates/backend/nestjs-api-sqlite/test/e2e/auth.e2e-spec.ts +147 -0
  863. package/templates/backend/nestjs-api-sqlite/test/e2e/health.e2e-spec.ts +62 -0
  864. package/templates/backend/nestjs-api-sqlite/test/e2e/posts.e2e-spec.ts +407 -0
  865. package/templates/backend/nestjs-api-sqlite/test/e2e/users.e2e-spec.ts +287 -0
  866. package/templates/backend/nestjs-api-sqlite/test/fixtures/test-data.ts +109 -0
  867. package/templates/backend/nestjs-api-sqlite/test/helpers/auth.helper.ts +54 -0
  868. package/templates/backend/nestjs-api-sqlite/test/helpers/db.helper.ts +72 -0
  869. package/templates/backend/nestjs-api-sqlite/test/jest-e2e.json +12 -0
  870. package/templates/backend/nestjs-api-sqlite/test/setup-e2e.ts +8 -0
  871. package/templates/backend/nestjs-api-sqlite/test/unit/app.service.spec.ts +24 -0
  872. package/templates/backend/nestjs-api-sqlite/test/unit/auth.controller.spec.ts +91 -0
  873. package/templates/backend/nestjs-api-sqlite/test/unit/auth.service.spec.ts +161 -0
  874. package/templates/backend/nestjs-api-sqlite/test/unit/health.controller.spec.ts +78 -0
  875. package/templates/backend/nestjs-api-sqlite/test/unit/http-exception.filter.spec.ts +150 -0
  876. package/templates/backend/nestjs-api-sqlite/test/unit/jwt-auth.guard.spec.ts +50 -0
  877. package/templates/backend/nestjs-api-sqlite/test/unit/jwt.strategy.spec.ts +41 -0
  878. package/templates/backend/nestjs-api-sqlite/test/unit/posts.controller.spec.ts +249 -0
  879. package/templates/backend/nestjs-api-sqlite/test/unit/posts.service.spec.ts +328 -0
  880. package/templates/backend/nestjs-api-sqlite/test/unit/profile.service.spec.ts +146 -0
  881. package/templates/backend/nestjs-api-sqlite/test/unit/settings.service.spec.ts +242 -0
  882. package/templates/backend/nestjs-api-sqlite/test/unit/users.controller.spec.ts +178 -0
  883. package/templates/backend/nestjs-api-sqlite/test/unit/users.service.spec.ts +96 -0
  884. package/templates/backend/nestjs-api-sqlite/tsconfig.build.json +4 -0
  885. package/templates/backend/nestjs-api-sqlite/tsconfig.json +28 -0
  886. package/templates/frontend/angular-base/.agents/skills/angular-component/SKILL.md +288 -0
  887. package/templates/frontend/angular-base/.agents/skills/angular-component/references/component-patterns.md +358 -0
  888. package/templates/frontend/angular-base/.agents/skills/angular-di/SKILL.md +387 -0
  889. package/templates/frontend/angular-base/.agents/skills/angular-di/references/di-patterns.md +519 -0
  890. package/templates/frontend/angular-base/.agents/skills/angular-directives/SKILL.md +437 -0
  891. package/templates/frontend/angular-base/.agents/skills/angular-directives/references/directive-patterns.md +570 -0
  892. package/templates/frontend/angular-base/.agents/skills/angular-forms/SKILL.md +434 -0
  893. package/templates/frontend/angular-base/.agents/skills/angular-forms/references/form-patterns.md +398 -0
  894. package/templates/frontend/angular-base/.agents/skills/angular-http/SKILL.md +366 -0
  895. package/templates/frontend/angular-base/.agents/skills/angular-http/references/http-patterns.md +448 -0
  896. package/templates/frontend/angular-base/.agents/skills/angular-routing/SKILL.md +395 -0
  897. package/templates/frontend/angular-base/.agents/skills/angular-routing/references/routing-patterns.md +472 -0
  898. package/templates/frontend/angular-base/.agents/skills/angular-signals/SKILL.md +302 -0
  899. package/templates/frontend/angular-base/.agents/skills/angular-signals/references/signal-patterns.md +404 -0
  900. package/templates/frontend/angular-base/.agents/skills/angular-ssr/SKILL.md +435 -0
  901. package/templates/frontend/angular-base/.agents/skills/angular-ssr/references/ssr-patterns.md +497 -0
  902. package/templates/frontend/angular-base/.agents/skills/angular-testing/SKILL.md +660 -0
  903. package/templates/frontend/angular-base/.agents/skills/angular-testing/references/testing-patterns.md +707 -0
  904. package/templates/frontend/angular-base/.agents/skills/angular-tooling/SKILL.md +352 -0
  905. package/templates/frontend/angular-base/.agents/skills/angular-tooling/references/tooling-patterns.md +448 -0
  906. package/templates/frontend/angular-base/.agents/skills/tailwindcss-accessibility/SKILL.md +780 -0
  907. package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-components/SKILL.md +718 -0
  908. package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
  909. package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
  910. package/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/SKILL.md +432 -0
  911. package/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
  912. package/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/SKILL.md +354 -0
  913. package/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
  914. package/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/SKILL.md +578 -0
  915. package/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
  916. package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
  917. package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
  918. package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
  919. package/templates/frontend/angular-base/.agents/skills/tailwindcss-mobile-first/SKILL.md +768 -0
  920. package/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/SKILL.md +374 -0
  921. package/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
  922. package/templates/frontend/angular-base/.agents/skills/tailwindcss-plugins/SKILL.md +505 -0
  923. package/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
  924. package/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
  925. package/templates/frontend/angular-base/.agents/skills/web-design-guidelines/SKILL.md +39 -0
  926. package/templates/frontend/angular-base/.cursor/mcp.json +12 -0
  927. package/templates/frontend/angular-base/.cursor/rules/angular-expert.mdc +153 -0
  928. package/templates/frontend/angular-base/.editorconfig +17 -0
  929. package/templates/frontend/angular-base/.eslintrc.json +52 -0
  930. package/templates/frontend/angular-base/.github/workflows/ci.yml +122 -0
  931. package/templates/frontend/angular-base/.husky/pre-commit +1 -0
  932. package/templates/frontend/angular-base/.husky/pre-push +1 -0
  933. package/templates/frontend/angular-base/.postcssrc.json +5 -0
  934. package/templates/frontend/angular-base/.prettierignore +8 -0
  935. package/templates/frontend/angular-base/.prettierrc.json +15 -0
  936. package/templates/frontend/angular-base/.vscode/extensions.json +4 -0
  937. package/templates/frontend/angular-base/.vscode/launch.json +20 -0
  938. package/templates/frontend/angular-base/.vscode/mcp.json +9 -0
  939. package/templates/frontend/angular-base/.vscode/tasks.json +42 -0
  940. package/templates/frontend/angular-base/CONTRIBUTING.md +230 -0
  941. package/templates/frontend/angular-base/README.md +383 -0
  942. package/templates/frontend/angular-base/angular.json +84 -0
  943. package/templates/frontend/angular-base/cypress/e2e/app.cy.ts +39 -0
  944. package/templates/frontend/angular-base/cypress/e2e/auth.cy.ts +196 -0
  945. package/templates/frontend/angular-base/cypress/e2e/dashboard.cy.ts +56 -0
  946. package/templates/frontend/angular-base/cypress/e2e/home.cy.ts +35 -0
  947. package/templates/frontend/angular-base/cypress/fixtures/example.json +4 -0
  948. package/templates/frontend/angular-base/cypress/support/commands.ts +8 -0
  949. package/templates/frontend/angular-base/cypress/support/e2e.ts +11 -0
  950. package/templates/frontend/angular-base/cypress.config.ts +11 -0
  951. package/templates/frontend/angular-base/docs/ARCHITECTURE.md +337 -0
  952. package/templates/frontend/angular-base/docs/AUTHENTICATION.md +491 -0
  953. package/templates/frontend/angular-base/docs/DEPLOYMENT.md +507 -0
  954. package/templates/frontend/angular-base/docs/FEATURES.md +404 -0
  955. package/templates/frontend/angular-base/docs/TESTING.md +418 -0
  956. package/templates/frontend/angular-base/docs/THEMING.md +333 -0
  957. package/templates/frontend/angular-base/docs/UI_LIBRARIES.md +380 -0
  958. package/templates/frontend/angular-base/docs/USER_PROFILE_FLOW.md +431 -0
  959. package/templates/frontend/angular-base/package-lock.json +13321 -0
  960. package/templates/frontend/angular-base/package.json +93 -0
  961. package/templates/frontend/angular-base/public/favicon.ico +0 -0
  962. package/templates/frontend/angular-base/src/app/app.config.server.ts +14 -0
  963. package/templates/frontend/angular-base/src/app/app.config.ts +32 -0
  964. package/templates/frontend/angular-base/src/app/app.css +0 -0
  965. package/templates/frontend/angular-base/src/app/app.html +1 -0
  966. package/templates/frontend/angular-base/src/app/app.routes.server.ts +28 -0
  967. package/templates/frontend/angular-base/src/app/app.routes.ts +67 -0
  968. package/templates/frontend/angular-base/src/app/app.spec.ts +23 -0
  969. package/templates/frontend/angular-base/src/app/app.ts +12 -0
  970. package/templates/frontend/angular-base/src/app/core/guards/admin.guard.ts +16 -0
  971. package/templates/frontend/angular-base/src/app/core/guards/auth.guard.spec.ts +43 -0
  972. package/templates/frontend/angular-base/src/app/core/guards/auth.guard.ts +15 -0
  973. package/templates/frontend/angular-base/src/app/core/index.ts +10 -0
  974. package/templates/frontend/angular-base/src/app/core/interceptors/http-error.interceptor.spec.ts +43 -0
  975. package/templates/frontend/angular-base/src/app/core/interceptors/http-error.interceptor.ts +53 -0
  976. package/templates/frontend/angular-base/src/app/core/services/auth.service.spec.ts +33 -0
  977. package/templates/frontend/angular-base/src/app/core/services/auth.service.ts +91 -0
  978. package/templates/frontend/angular-base/src/app/core/services/theme.service.spec.ts +33 -0
  979. package/templates/frontend/angular-base/src/app/core/services/theme.service.ts +136 -0
  980. package/templates/frontend/angular-base/src/app/features/admin/index.ts +3 -0
  981. package/templates/frontend/angular-base/src/app/features/admin/routes.ts +21 -0
  982. package/templates/frontend/angular-base/src/app/features/admin/users/models/admin-user.model.ts +32 -0
  983. package/templates/frontend/angular-base/src/app/features/admin/users/pages/user-form.page.ts +279 -0
  984. package/templates/frontend/angular-base/src/app/features/admin/users/pages/user-list.page.ts +336 -0
  985. package/templates/frontend/angular-base/src/app/features/admin/users/services/admin-user.service.ts +151 -0
  986. package/templates/frontend/angular-base/src/app/features/auth/index.ts +2 -0
  987. package/templates/frontend/angular-base/src/app/features/auth/models/auth.model.ts +39 -0
  988. package/templates/frontend/angular-base/src/app/features/auth/pages/login.page.spec.ts +44 -0
  989. package/templates/frontend/angular-base/src/app/features/auth/pages/login.page.ts +187 -0
  990. package/templates/frontend/angular-base/src/app/features/auth/pages/password-recovery.page.spec.ts +48 -0
  991. package/templates/frontend/angular-base/src/app/features/auth/pages/password-recovery.page.ts +171 -0
  992. package/templates/frontend/angular-base/src/app/features/auth/pages/signup.page.spec.ts +53 -0
  993. package/templates/frontend/angular-base/src/app/features/auth/pages/signup.page.ts +269 -0
  994. package/templates/frontend/angular-base/src/app/features/auth/routes.ts +22 -0
  995. package/templates/frontend/angular-base/src/app/features/customers/index.ts +3 -0
  996. package/templates/frontend/angular-base/src/app/features/customers/models/customer.model.ts +41 -0
  997. package/templates/frontend/angular-base/src/app/features/customers/pages/customer-detail.page.ts +299 -0
  998. package/templates/frontend/angular-base/src/app/features/customers/pages/customer-form.page.ts +302 -0
  999. package/templates/frontend/angular-base/src/app/features/customers/pages/customer-list.page.ts +439 -0
  1000. package/templates/frontend/angular-base/src/app/features/customers/routes.ts +21 -0
  1001. package/templates/frontend/angular-base/src/app/features/customers/services/customer.service.ts +162 -0
  1002. package/templates/frontend/angular-base/src/app/features/dashboard/components/stats-card/stats-card.component.spec.ts +23 -0
  1003. package/templates/frontend/angular-base/src/app/features/dashboard/components/stats-card/stats-card.component.ts +52 -0
  1004. package/templates/frontend/angular-base/src/app/features/dashboard/index.ts +1 -0
  1005. package/templates/frontend/angular-base/src/app/features/dashboard/pages/dashboard.page.spec.ts +21 -0
  1006. package/templates/frontend/angular-base/src/app/features/dashboard/pages/dashboard.page.ts +122 -0
  1007. package/templates/frontend/angular-base/src/app/features/dashboard/routes.ts +8 -0
  1008. package/templates/frontend/angular-base/src/app/features/dashboard/services/dashboard.service.spec.ts +37 -0
  1009. package/templates/frontend/angular-base/src/app/features/dashboard/services/dashboard.service.ts +48 -0
  1010. package/templates/frontend/angular-base/src/app/features/errors/index.ts +1 -0
  1011. package/templates/frontend/angular-base/src/app/features/errors/pages/forbidden.page.ts +50 -0
  1012. package/templates/frontend/angular-base/src/app/features/errors/pages/maintenance.page.ts +46 -0
  1013. package/templates/frontend/angular-base/src/app/features/errors/pages/not-found.page.ts +49 -0
  1014. package/templates/frontend/angular-base/src/app/features/errors/pages/server-error.page.ts +60 -0
  1015. package/templates/frontend/angular-base/src/app/features/errors/routes.ts +25 -0
  1016. package/templates/frontend/angular-base/src/app/features/home/index.ts +1 -0
  1017. package/templates/frontend/angular-base/src/app/features/home/pages/home.page.spec.ts +23 -0
  1018. package/templates/frontend/angular-base/src/app/features/home/pages/home.page.ts +105 -0
  1019. package/templates/frontend/angular-base/src/app/features/home/routes.ts +8 -0
  1020. package/templates/frontend/angular-base/src/app/features/projects/index.ts +3 -0
  1021. package/templates/frontend/angular-base/src/app/features/projects/models/project.model.ts +48 -0
  1022. package/templates/frontend/angular-base/src/app/features/projects/pages/project-detail.page.ts +444 -0
  1023. package/templates/frontend/angular-base/src/app/features/projects/pages/project-form.page.ts +393 -0
  1024. package/templates/frontend/angular-base/src/app/features/projects/pages/project-list.page.ts +411 -0
  1025. package/templates/frontend/angular-base/src/app/features/projects/routes.ts +21 -0
  1026. package/templates/frontend/angular-base/src/app/features/projects/services/project.service.ts +227 -0
  1027. package/templates/frontend/angular-base/src/app/features/reports/index.ts +3 -0
  1028. package/templates/frontend/angular-base/src/app/features/reports/models/report.model.ts +27 -0
  1029. package/templates/frontend/angular-base/src/app/features/reports/pages/analytics.page.html +246 -0
  1030. package/templates/frontend/angular-base/src/app/features/reports/pages/analytics.page.ts +135 -0
  1031. package/templates/frontend/angular-base/src/app/features/reports/routes.ts +13 -0
  1032. package/templates/frontend/angular-base/src/app/features/reports/services/report.service.ts +141 -0
  1033. package/templates/frontend/angular-base/src/app/features/user/index.ts +3 -0
  1034. package/templates/frontend/angular-base/src/app/features/user/models/user.model.ts +23 -0
  1035. package/templates/frontend/angular-base/src/app/features/user/pages/privacy.page.spec.ts +27 -0
  1036. package/templates/frontend/angular-base/src/app/features/user/pages/privacy.page.ts +414 -0
  1037. package/templates/frontend/angular-base/src/app/features/user/pages/profile.page.spec.ts +39 -0
  1038. package/templates/frontend/angular-base/src/app/features/user/pages/profile.page.ts +232 -0
  1039. package/templates/frontend/angular-base/src/app/features/user/pages/settings.page.spec.ts +28 -0
  1040. package/templates/frontend/angular-base/src/app/features/user/pages/settings.page.ts +284 -0
  1041. package/templates/frontend/angular-base/src/app/features/user/routes.ts +21 -0
  1042. package/templates/frontend/angular-base/src/app/features/user/services/user.service.ts +74 -0
  1043. package/templates/frontend/angular-base/src/app/layout/footer/footer.component.spec.ts +25 -0
  1044. package/templates/frontend/angular-base/src/app/layout/footer/footer.component.ts +67 -0
  1045. package/templates/frontend/angular-base/src/app/layout/index.ts +3 -0
  1046. package/templates/frontend/angular-base/src/app/layout/main-layout/main-layout.component.spec.ts +23 -0
  1047. package/templates/frontend/angular-base/src/app/layout/main-layout/main-layout.component.ts +30 -0
  1048. package/templates/frontend/angular-base/src/app/layout/navbar/navbar.component.spec.ts +23 -0
  1049. package/templates/frontend/angular-base/src/app/layout/navbar/navbar.component.ts +293 -0
  1050. package/templates/frontend/angular-base/src/app/shared/components/badge/badge.component.spec.ts +36 -0
  1051. package/templates/frontend/angular-base/src/app/shared/components/badge/badge.component.ts +70 -0
  1052. package/templates/frontend/angular-base/src/app/shared/components/button/button.component.spec.ts +44 -0
  1053. package/templates/frontend/angular-base/src/app/shared/components/button/button.component.ts +64 -0
  1054. package/templates/frontend/angular-base/src/app/shared/components/card/card.component.spec.ts +29 -0
  1055. package/templates/frontend/angular-base/src/app/shared/components/card/card.component.ts +60 -0
  1056. package/templates/frontend/angular-base/src/app/shared/components/data-table/data-table.component.spec.ts +49 -0
  1057. package/templates/frontend/angular-base/src/app/shared/components/data-table/data-table.component.ts +280 -0
  1058. package/templates/frontend/angular-base/src/app/shared/components/empty-state/empty-state.component.spec.ts +36 -0
  1059. package/templates/frontend/angular-base/src/app/shared/components/empty-state/empty-state.component.ts +56 -0
  1060. package/templates/frontend/angular-base/src/app/shared/components/modal/modal.component.spec.ts +32 -0
  1061. package/templates/frontend/angular-base/src/app/shared/components/modal/modal.component.ts +131 -0
  1062. package/templates/frontend/angular-base/src/app/shared/components/pagination/pagination.component.spec.ts +38 -0
  1063. package/templates/frontend/angular-base/src/app/shared/components/pagination/pagination.component.ts +194 -0
  1064. package/templates/frontend/angular-base/src/app/shared/components/search-input/search-input.component.spec.ts +37 -0
  1065. package/templates/frontend/angular-base/src/app/shared/components/search-input/search-input.component.ts +125 -0
  1066. package/templates/frontend/angular-base/src/app/shared/components/skeleton-loader/skeleton-loader.component.spec.ts +30 -0
  1067. package/templates/frontend/angular-base/src/app/shared/components/skeleton-loader/skeleton-loader.component.ts +55 -0
  1068. package/templates/frontend/angular-base/src/app/shared/components/toggle/toggle.component.spec.ts +49 -0
  1069. package/templates/frontend/angular-base/src/app/shared/components/toggle/toggle.component.ts +101 -0
  1070. package/templates/frontend/angular-base/src/app/shared/components/user-dropdown/user-dropdown.component.spec.ts +65 -0
  1071. package/templates/frontend/angular-base/src/app/shared/components/user-dropdown/user-dropdown.component.ts +219 -0
  1072. package/templates/frontend/angular-base/src/app/shared/directives/auto-focus.directive.spec.ts +33 -0
  1073. package/templates/frontend/angular-base/src/app/shared/directives/auto-focus.directive.ts +25 -0
  1074. package/templates/frontend/angular-base/src/app/shared/index.ts +18 -0
  1075. package/templates/frontend/angular-base/src/app/shared/pipes/date-format.pipe.spec.ts +29 -0
  1076. package/templates/frontend/angular-base/src/app/shared/pipes/date-format.pipe.ts +39 -0
  1077. package/templates/frontend/angular-base/src/environments/environment.development.ts +4 -0
  1078. package/templates/frontend/angular-base/src/environments/environment.ts +4 -0
  1079. package/templates/frontend/angular-base/src/index.html +44 -0
  1080. package/templates/frontend/angular-base/src/main.server.ts +7 -0
  1081. package/templates/frontend/angular-base/src/main.ts +5 -0
  1082. package/templates/frontend/angular-base/src/server.ts +66 -0
  1083. package/templates/frontend/angular-base/src/styles.css +209 -0
  1084. package/templates/frontend/angular-base/src/test-setup.ts +10 -0
  1085. package/templates/frontend/angular-base/tsconfig.app.json +17 -0
  1086. package/templates/frontend/angular-base/tsconfig.json +41 -0
  1087. package/templates/frontend/angular-base/tsconfig.spec.json +15 -0
  1088. package/templates/frontend/angular-base/vitest.config.ts +25 -0
  1089. package/templates/frontend/react-vite/.cursor/skills/architecture/SKILL.md +26 -0
  1090. package/templates/frontend/react-vite/.cursor/skills/components-shadcn/SKILL.md +23 -0
  1091. package/templates/frontend/react-vite/.cursor/skills/daisyui/SKILL.md +98 -0
  1092. package/templates/frontend/react-vite/.cursor/skills/routing/SKILL.md +32 -0
  1093. package/templates/frontend/react-vite/.cursor/skills/testing/SKILL.md +55 -0
  1094. package/templates/frontend/react-vite/.cursor/skills/tooling-and-scripts/SKILL.md +24 -0
  1095. package/templates/frontend/react-vite/.cursor/skills/ui-and-styling/SKILL.md +32 -0
  1096. package/templates/frontend/react-vite/.cursor/skills/vibe-and-ia/SKILL.md +23 -0
  1097. package/templates/frontend/react-vite/.prettierrc +6 -0
  1098. package/templates/frontend/react-vite/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +9 -0
  1099. package/templates/frontend/react-vite/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +9 -0
  1100. package/templates/frontend/react-vite/.vscode/extensions.json +7 -0
  1101. package/templates/frontend/react-vite/README.md +75 -0
  1102. package/templates/frontend/react-vite/components.json +22 -0
  1103. package/templates/frontend/react-vite/eslint.config.js +31 -0
  1104. package/templates/frontend/react-vite/index.html +13 -0
  1105. package/templates/frontend/react-vite/package.json +62 -0
  1106. package/templates/frontend/react-vite/pnpm-lock.yaml +4487 -0
  1107. package/templates/frontend/react-vite/pnpm-workspace.yaml +2 -0
  1108. package/templates/frontend/react-vite/src/assets/react.svg +1 -0
  1109. package/templates/frontend/react-vite/src/components/ui/badge.tsx +37 -0
  1110. package/templates/frontend/react-vite/src/components/ui/breadcrumb.tsx +106 -0
  1111. package/templates/frontend/react-vite/src/components/ui/button.tsx +58 -0
  1112. package/templates/frontend/react-vite/src/components/ui/card.tsx +72 -0
  1113. package/templates/frontend/react-vite/src/components/ui/form.tsx +165 -0
  1114. package/templates/frontend/react-vite/src/components/ui/input.tsx +22 -0
  1115. package/templates/frontend/react-vite/src/components/ui/label.tsx +24 -0
  1116. package/templates/frontend/react-vite/src/components/ui/password-input.tsx +41 -0
  1117. package/templates/frontend/react-vite/src/components/ui/separator.tsx +28 -0
  1118. package/templates/frontend/react-vite/src/components/ui/tabs.tsx +62 -0
  1119. package/templates/frontend/react-vite/src/components/ui/textarea.tsx +21 -0
  1120. package/templates/frontend/react-vite/src/index.css +104 -0
  1121. package/templates/frontend/react-vite/src/lib/queryClient.ts +11 -0
  1122. package/templates/frontend/react-vite/src/lib/utils.ts +6 -0
  1123. package/templates/frontend/react-vite/src/main.tsx +33 -0
  1124. package/templates/frontend/react-vite/src/routeTree.gen.ts +77 -0
  1125. package/templates/frontend/react-vite/src/router.tsx +13 -0
  1126. package/templates/frontend/react-vite/src/routes/__root.tsx +82 -0
  1127. package/templates/frontend/react-vite/src/routes/index.tsx +187 -0
  1128. package/templates/frontend/react-vite/src/routes/otra-ruta.tsx +319 -0
  1129. package/templates/frontend/react-vite/src/test/setup.ts +1 -0
  1130. package/templates/frontend/react-vite/tsconfig.app.json +34 -0
  1131. package/templates/frontend/react-vite/tsconfig.json +10 -0
  1132. package/templates/frontend/react-vite/tsconfig.node.json +26 -0
  1133. package/templates/frontend/react-vite/vite.config.ts +22 -0
  1134. package/templates/frontend/react-vite/vitest.config.ts +9 -0
  1135. package/templates/frontend/react-vite-help/.cursor/skills/architecture/SKILL.md +26 -0
  1136. package/templates/frontend/react-vite-help/.cursor/skills/components-shadcn/SKILL.md +23 -0
  1137. package/templates/frontend/react-vite-help/.cursor/skills/daisyui/SKILL.md +98 -0
  1138. package/templates/frontend/react-vite-help/.cursor/skills/routing/SKILL.md +32 -0
  1139. package/templates/frontend/react-vite-help/.cursor/skills/testing/SKILL.md +55 -0
  1140. package/templates/frontend/react-vite-help/.cursor/skills/tooling-and-scripts/SKILL.md +24 -0
  1141. package/templates/frontend/react-vite-help/.cursor/skills/ui-and-styling/SKILL.md +32 -0
  1142. package/templates/frontend/react-vite-help/.cursor/skills/vibe-and-ia/SKILL.md +23 -0
  1143. package/templates/frontend/react-vite-help/.prettierrc +6 -0
  1144. package/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +9 -0
  1145. package/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +9 -0
  1146. package/templates/frontend/react-vite-help/.vscode/extensions.json +7 -0
  1147. package/templates/frontend/react-vite-help/README.md +75 -0
  1148. package/templates/frontend/react-vite-help/components.json +22 -0
  1149. package/templates/frontend/react-vite-help/eslint.config.js +31 -0
  1150. package/templates/frontend/react-vite-help/index.html +13 -0
  1151. package/templates/frontend/react-vite-help/package.json +62 -0
  1152. package/templates/frontend/react-vite-help/pnpm-lock.yaml +4487 -0
  1153. package/templates/frontend/react-vite-help/pnpm-workspace.yaml +2 -0
  1154. package/templates/frontend/react-vite-help/src/assets/react.svg +1 -0
  1155. package/templates/frontend/react-vite-help/src/components/documentacion/entorno.tsx +99 -0
  1156. package/templates/frontend/react-vite-help/src/components/documentacion/estructura.tsx +100 -0
  1157. package/templates/frontend/react-vite-help/src/components/documentacion/figma-mcp.tsx +200 -0
  1158. package/templates/frontend/react-vite-help/src/components/documentacion/inicio.tsx +69 -0
  1159. package/templates/frontend/react-vite-help/src/components/documentacion/instalacion.tsx +72 -0
  1160. package/templates/frontend/react-vite-help/src/components/documentacion/personalizacion.tsx +163 -0
  1161. package/templates/frontend/react-vite-help/src/components/documentacion/rutas.tsx +138 -0
  1162. package/templates/frontend/react-vite-help/src/components/documentacion/stack.tsx +401 -0
  1163. package/templates/frontend/react-vite-help/src/components/ui/badge.tsx +37 -0
  1164. package/templates/frontend/react-vite-help/src/components/ui/breadcrumb.tsx +106 -0
  1165. package/templates/frontend/react-vite-help/src/components/ui/button.tsx +58 -0
  1166. package/templates/frontend/react-vite-help/src/components/ui/card.tsx +72 -0
  1167. package/templates/frontend/react-vite-help/src/components/ui/form.tsx +165 -0
  1168. package/templates/frontend/react-vite-help/src/components/ui/input.tsx +22 -0
  1169. package/templates/frontend/react-vite-help/src/components/ui/label.tsx +24 -0
  1170. package/templates/frontend/react-vite-help/src/components/ui/password-input.tsx +41 -0
  1171. package/templates/frontend/react-vite-help/src/components/ui/separator.tsx +28 -0
  1172. package/templates/frontend/react-vite-help/src/components/ui/tabs.tsx +62 -0
  1173. package/templates/frontend/react-vite-help/src/components/ui/textarea.tsx +21 -0
  1174. package/templates/frontend/react-vite-help/src/data/proyectos.json +56 -0
  1175. package/templates/frontend/react-vite-help/src/index.css +104 -0
  1176. package/templates/frontend/react-vite-help/src/lib/queryClient.ts +11 -0
  1177. package/templates/frontend/react-vite-help/src/lib/utils.ts +6 -0
  1178. package/templates/frontend/react-vite-help/src/main.tsx +33 -0
  1179. package/templates/frontend/react-vite-help/src/routeTree.gen.ts +241 -0
  1180. package/templates/frontend/react-vite-help/src/router.tsx +13 -0
  1181. package/templates/frontend/react-vite-help/src/routes/__root.tsx +92 -0
  1182. package/templates/frontend/react-vite-help/src/routes/auth/iniciar-sesion.tsx +139 -0
  1183. package/templates/frontend/react-vite-help/src/routes/auth/registro.tsx +205 -0
  1184. package/templates/frontend/react-vite-help/src/routes/contacto.tsx +60 -0
  1185. package/templates/frontend/react-vite-help/src/routes/dashbord.tsx +9 -0
  1186. package/templates/frontend/react-vite-help/src/routes/documentacion.tsx +80 -0
  1187. package/templates/frontend/react-vite-help/src/routes/index.test.tsx +42 -0
  1188. package/templates/frontend/react-vite-help/src/routes/index.tsx +211 -0
  1189. package/templates/frontend/react-vite-help/src/routes/perfil.tsx +9 -0
  1190. package/templates/frontend/react-vite-help/src/routes/proyectos.$proyectoId.tsx +156 -0
  1191. package/templates/frontend/react-vite-help/src/routes/proyectos.tsx +93 -0
  1192. package/templates/frontend/react-vite-help/src/test/setup.ts +1 -0
  1193. package/templates/frontend/react-vite-help/tsconfig.app.json +34 -0
  1194. package/templates/frontend/react-vite-help/tsconfig.json +10 -0
  1195. package/templates/frontend/react-vite-help/tsconfig.node.json +26 -0
  1196. package/templates/frontend/react-vite-help/vite.config.ts +22 -0
  1197. package/templates/frontend/react-vite-help/vitest.config.ts +9 -0
  1198. package/templates/mobile/.gitkeep +1 -0
  1199. package/templates/mobile/expo-base/.cursor/rules/general-rules.mdc +231 -0
  1200. package/templates/mobile/expo-base/.cursor/rules/react-native-rules.mdc +1348 -0
  1201. package/templates/mobile/expo-base/.env +1 -0
  1202. package/templates/mobile/expo-base/.husky/commit-msg +4 -0
  1203. package/templates/mobile/expo-base/.husky/pre-commit +1 -0
  1204. package/templates/mobile/expo-base/.lintstagedrc.js +25 -0
  1205. package/templates/mobile/expo-base/.prettierignore +10 -0
  1206. package/templates/mobile/expo-base/.prettierrc +11 -0
  1207. package/templates/mobile/expo-base/.vscode/extensions.json +1 -0
  1208. package/templates/mobile/expo-base/.vscode/settings.json +7 -0
  1209. package/templates/mobile/expo-base/CHANGELOG.md +155 -0
  1210. package/templates/mobile/expo-base/IMPLEMENTATION_SUMMARY.md +413 -0
  1211. package/templates/mobile/expo-base/README.md +510 -0
  1212. package/templates/mobile/expo-base/SETUP_NOTES.md +233 -0
  1213. package/templates/mobile/expo-base/TEMPLATE_USAGE.md +623 -0
  1214. package/templates/mobile/expo-base/WARP.md +123 -0
  1215. package/templates/mobile/expo-base/app/(public)/_layout.tsx +21 -0
  1216. package/templates/mobile/expo-base/app/(public)/forgot-password.tsx +3 -0
  1217. package/templates/mobile/expo-base/app/(public)/login.tsx +3 -0
  1218. package/templates/mobile/expo-base/app/(public)/register.tsx +3 -0
  1219. package/templates/mobile/expo-base/app/(tabs)/_layout.tsx +60 -0
  1220. package/templates/mobile/expo-base/app/(tabs)/explore.tsx +235 -0
  1221. package/templates/mobile/expo-base/app/(tabs)/index.tsx +290 -0
  1222. package/templates/mobile/expo-base/app/(tabs)/profile.tsx +3 -0
  1223. package/templates/mobile/expo-base/app/_layout.tsx +143 -0
  1224. package/templates/mobile/expo-base/app/modal.tsx +29 -0
  1225. package/templates/mobile/expo-base/app/onboarding.tsx +3 -0
  1226. package/templates/mobile/expo-base/app/profile/_layout.tsx +44 -0
  1227. package/templates/mobile/expo-base/app/profile/change-password.tsx +3 -0
  1228. package/templates/mobile/expo-base/app/profile/edit.tsx +3 -0
  1229. package/templates/mobile/expo-base/app/settings/_layout.tsx +62 -0
  1230. package/templates/mobile/expo-base/app/settings/about.tsx +3 -0
  1231. package/templates/mobile/expo-base/app/settings/index.tsx +3 -0
  1232. package/templates/mobile/expo-base/app/settings/language.tsx +3 -0
  1233. package/templates/mobile/expo-base/app/settings/notifications.tsx +3 -0
  1234. package/templates/mobile/expo-base/app/settings/theme.tsx +3 -0
  1235. package/templates/mobile/expo-base/app.json +31 -0
  1236. package/templates/mobile/expo-base/commitlint.config.js +50 -0
  1237. package/templates/mobile/expo-base/docs/ARCHITECTURE.md +565 -0
  1238. package/templates/mobile/expo-base/docs/CI_CD.md +461 -0
  1239. package/templates/mobile/expo-base/docs/COMPONENTS.md +1103 -0
  1240. package/templates/mobile/expo-base/docs/CONTRIBUTING.md +733 -0
  1241. package/templates/mobile/expo-base/docs/DESIGN_TOKENS.md +832 -0
  1242. package/templates/mobile/expo-base/docs/GIT_CONVENTIONS.md +411 -0
  1243. package/templates/mobile/expo-base/docs/I18N.md +701 -0
  1244. package/templates/mobile/expo-base/docs/TESTING.md +565 -0
  1245. package/templates/mobile/expo-base/docs/THEMING.md +753 -0
  1246. package/templates/mobile/expo-base/docs/VERSIONING.md +518 -0
  1247. package/templates/mobile/expo-base/eslint.config.js +180 -0
  1248. package/templates/mobile/expo-base/jest.config.js +51 -0
  1249. package/templates/mobile/expo-base/jest.setup.js +106 -0
  1250. package/templates/mobile/expo-base/package.json +74 -0
  1251. package/templates/mobile/expo-base/pnpm-lock.yaml +11354 -0
  1252. package/templates/mobile/expo-base/pnpm-workspace.yaml +4 -0
  1253. package/templates/mobile/expo-base/src/__tests__/helpers/test-utils.tsx +77 -0
  1254. package/templates/mobile/expo-base/src/__tests__/mocks/api.ts +65 -0
  1255. package/templates/mobile/expo-base/src/__tests__/mocks/i18n.ts +22 -0
  1256. package/templates/mobile/expo-base/src/__tests__/mocks/index.ts +7 -0
  1257. package/templates/mobile/expo-base/src/__tests__/mocks/navigation.ts +47 -0
  1258. package/templates/mobile/expo-base/src/__tests__/mocks/theme.ts +46 -0
  1259. package/templates/mobile/expo-base/src/assets/images/android-icon-background.png +0 -0
  1260. package/templates/mobile/expo-base/src/assets/images/android-icon-foreground.png +0 -0
  1261. package/templates/mobile/expo-base/src/assets/images/android-icon-monochrome.png +0 -0
  1262. package/templates/mobile/expo-base/src/assets/images/favicon.png +0 -0
  1263. package/templates/mobile/expo-base/src/assets/images/icon.png +0 -0
  1264. package/templates/mobile/expo-base/src/assets/images/partial-react-logo.png +0 -0
  1265. package/templates/mobile/expo-base/src/assets/images/react-logo.png +0 -0
  1266. package/templates/mobile/expo-base/src/assets/images/react-logo@2x.png +0 -0
  1267. package/templates/mobile/expo-base/src/assets/images/react-logo@3x.png +0 -0
  1268. package/templates/mobile/expo-base/src/assets/images/splash-icon.png +0 -0
  1269. package/templates/mobile/expo-base/src/components/external-link.tsx +25 -0
  1270. package/templates/mobile/expo-base/src/components/feedback/empty-state.tsx +150 -0
  1271. package/templates/mobile/expo-base/src/components/feedback/error-boundary.tsx +145 -0
  1272. package/templates/mobile/expo-base/src/components/feedback/error-screen.tsx +121 -0
  1273. package/templates/mobile/expo-base/src/components/feedback/index.ts +11 -0
  1274. package/templates/mobile/expo-base/src/components/feedback/loading.tsx +155 -0
  1275. package/templates/mobile/expo-base/src/components/haptic-tab.tsx +18 -0
  1276. package/templates/mobile/expo-base/src/components/hello-wave.tsx +19 -0
  1277. package/templates/mobile/expo-base/src/components/layout/column.tsx +49 -0
  1278. package/templates/mobile/expo-base/src/components/layout/container.tsx +41 -0
  1279. package/templates/mobile/expo-base/src/components/layout/index.ts +14 -0
  1280. package/templates/mobile/expo-base/src/components/layout/row.tsx +52 -0
  1281. package/templates/mobile/expo-base/src/components/layout/screen.tsx +110 -0
  1282. package/templates/mobile/expo-base/src/components/layout/section.tsx +37 -0
  1283. package/templates/mobile/expo-base/src/components/parallax-scroll-view.tsx +79 -0
  1284. package/templates/mobile/expo-base/src/components/themed-text.tsx +60 -0
  1285. package/templates/mobile/expo-base/src/components/themed-view.tsx +14 -0
  1286. package/templates/mobile/expo-base/src/components/ui/__tests__/button.test.tsx +206 -0
  1287. package/templates/mobile/expo-base/src/components/ui/avatar.tsx +141 -0
  1288. package/templates/mobile/expo-base/src/components/ui/badge.tsx +175 -0
  1289. package/templates/mobile/expo-base/src/components/ui/button.tsx +247 -0
  1290. package/templates/mobile/expo-base/src/components/ui/card.tsx +127 -0
  1291. package/templates/mobile/expo-base/src/components/ui/collapsible.tsx +45 -0
  1292. package/templates/mobile/expo-base/src/components/ui/divider.tsx +50 -0
  1293. package/templates/mobile/expo-base/src/components/ui/icon-symbol.ios.tsx +32 -0
  1294. package/templates/mobile/expo-base/src/components/ui/icon-symbol.tsx +41 -0
  1295. package/templates/mobile/expo-base/src/components/ui/icon.tsx +137 -0
  1296. package/templates/mobile/expo-base/src/components/ui/index.ts +20 -0
  1297. package/templates/mobile/expo-base/src/components/ui/input.tsx +242 -0
  1298. package/templates/mobile/expo-base/src/constants/theme.ts +53 -0
  1299. package/templates/mobile/expo-base/src/contexts/auth-context.tsx +246 -0
  1300. package/templates/mobile/expo-base/src/contexts/index.ts +8 -0
  1301. package/templates/mobile/expo-base/src/contexts/query-client.tsx +43 -0
  1302. package/templates/mobile/expo-base/src/contexts/theme-context.tsx +111 -0
  1303. package/templates/mobile/expo-base/src/features/auth/forgot-password-screen.tsx +164 -0
  1304. package/templates/mobile/expo-base/src/features/auth/index.ts +7 -0
  1305. package/templates/mobile/expo-base/src/features/auth/login-screen.tsx +177 -0
  1306. package/templates/mobile/expo-base/src/features/auth/register-screen.tsx +220 -0
  1307. package/templates/mobile/expo-base/src/features/onboarding/README.md +190 -0
  1308. package/templates/mobile/expo-base/src/features/onboarding/index.ts +7 -0
  1309. package/templates/mobile/expo-base/src/features/onboarding/onboarding-debug.tsx +120 -0
  1310. package/templates/mobile/expo-base/src/features/onboarding/onboarding-screen.tsx +242 -0
  1311. package/templates/mobile/expo-base/src/features/onboarding/onboarding-utils.ts +49 -0
  1312. package/templates/mobile/expo-base/src/features/profile/change-password-screen.tsx +154 -0
  1313. package/templates/mobile/expo-base/src/features/profile/edit-profile-screen.tsx +183 -0
  1314. package/templates/mobile/expo-base/src/features/profile/index.ts +7 -0
  1315. package/templates/mobile/expo-base/src/features/profile/profile-screen.tsx +177 -0
  1316. package/templates/mobile/expo-base/src/features/settings/about-screen.tsx +167 -0
  1317. package/templates/mobile/expo-base/src/features/settings/index.ts +9 -0
  1318. package/templates/mobile/expo-base/src/features/settings/language-settings-screen.tsx +97 -0
  1319. package/templates/mobile/expo-base/src/features/settings/notifications-settings-screen.tsx +128 -0
  1320. package/templates/mobile/expo-base/src/features/settings/settings-screen.tsx +141 -0
  1321. package/templates/mobile/expo-base/src/features/settings/theme-settings-screen.tsx +149 -0
  1322. package/templates/mobile/expo-base/src/hooks/__tests__/use-theme.test.ts +151 -0
  1323. package/templates/mobile/expo-base/src/hooks/index.ts +13 -0
  1324. package/templates/mobile/expo-base/src/hooks/use-api.ts +206 -0
  1325. package/templates/mobile/expo-base/src/hooks/use-auth.ts +7 -0
  1326. package/templates/mobile/expo-base/src/hooks/use-color-scheme.ts +19 -0
  1327. package/templates/mobile/expo-base/src/hooks/use-color-scheme.web.ts +31 -0
  1328. package/templates/mobile/expo-base/src/hooks/use-theme-color.ts +21 -0
  1329. package/templates/mobile/expo-base/src/hooks/use-theme.ts +60 -0
  1330. package/templates/mobile/expo-base/src/hooks/use-translation.ts +48 -0
  1331. package/templates/mobile/expo-base/src/i18n/index.ts +113 -0
  1332. package/templates/mobile/expo-base/src/i18n/locales/en-US.json +134 -0
  1333. package/templates/mobile/expo-base/src/i18n/locales/es-AR.json +134 -0
  1334. package/templates/mobile/expo-base/src/scripts/reset-project.js +112 -0
  1335. package/templates/mobile/expo-base/src/services/api/client.ts +190 -0
  1336. package/templates/mobile/expo-base/src/services/api/endpoints.ts +45 -0
  1337. package/templates/mobile/expo-base/src/services/api/index.ts +7 -0
  1338. package/templates/mobile/expo-base/src/services/storage/secure-storage.ts +56 -0
  1339. package/templates/mobile/expo-base/src/theme/colors.ts +147 -0
  1340. package/templates/mobile/expo-base/src/theme/index.ts +40 -0
  1341. package/templates/mobile/expo-base/src/theme/semantic-colors.ts +221 -0
  1342. package/templates/mobile/expo-base/src/theme/shadows.ts +123 -0
  1343. package/templates/mobile/expo-base/src/theme/spacing.ts +118 -0
  1344. package/templates/mobile/expo-base/src/theme/theme-config.ts +111 -0
  1345. package/templates/mobile/expo-base/src/theme/tokens.ts +218 -0
  1346. package/templates/mobile/expo-base/src/theme/typography.ts +152 -0
  1347. package/templates/mobile/expo-base/src/types/index.ts +6 -0
  1348. package/templates/mobile/expo-base/src/types/models.ts +153 -0
  1349. package/templates/mobile/expo-base/src/types/navigation.ts +67 -0
  1350. package/templates/mobile/expo-base/src/utils/__tests__/validators.test.ts +312 -0
  1351. package/templates/mobile/expo-base/src/utils/constants.ts +167 -0
  1352. package/templates/mobile/expo-base/src/utils/formatters.ts +222 -0
  1353. package/templates/mobile/expo-base/src/utils/index.ts +7 -0
  1354. package/templates/mobile/expo-base/src/utils/validators.ts +187 -0
  1355. package/templates/mobile/expo-base/tsconfig.json +26 -0
@@ -0,0 +1,383 @@
1
+ # Angular Modern Template
2
+
3
+ A simple, professional Angular template for building SPAs with modern best practices. Perfect for small teams and projects that need a solid foundation without over-engineering.
4
+
5
+ ## 🎯 What is This?
6
+
7
+ This template provides a clean starting point for Angular applications with:
8
+ - **Modern Angular** - Standalone components, signals, and latest features
9
+ - **Feature-based architecture** - Organized, scalable structure
10
+ - **Quality tooling** - ESLint, Prettier, Husky, and testing ready
11
+ - **Tailwind CSS** - Utility-first styling with dark mode support
12
+ - **TypeScript strict** - Maximum type safety
13
+ - **SSR enabled** - Server-side rendering with Express
14
+
15
+ ## 📦 Tech Stack
16
+
17
+ | Category | Technology |
18
+ |----------|------------|
19
+ | Framework | Angular 21 (standalone components) |
20
+ | Language | TypeScript (strict mode) |
21
+ | Styling | Tailwind CSS v4 |
22
+ | State Management | Angular Signals |
23
+ | Testing | Vitest (unit) + Cypress (E2E) |
24
+ | Linting | ESLint + Prettier |
25
+ | Git Hooks | Husky + lint-staged |
26
+ | CI/CD | GitHub Actions |
27
+ | SSR | Express + Angular SSR |
28
+
29
+ ## 🚀 Getting Started
30
+
31
+ ### Prerequisites
32
+
33
+ - Node.js 20 or higher
34
+ - npm 11 or higher
35
+
36
+ ### Installation
37
+
38
+ ```bash
39
+ # Install dependencies
40
+ npm install
41
+
42
+ # Start development server
43
+ npm start
44
+
45
+ # Start with SSR
46
+ npm run start:ssr
47
+ ```
48
+
49
+ Visit `http://localhost:4200` to see your app running.
50
+
51
+ ## 📁 Project Structure
52
+
53
+ ```
54
+ src/app/
55
+ ├── core/ # Singletons, guards, interceptors
56
+ │ ├── guards/ # Route guards (auth, permissions, etc.)
57
+ │ ├── interceptors/ # HTTP interceptors
58
+ │ └── services/ # Core singleton services
59
+ ├── shared/ # Reusable components, pipes, directives
60
+ │ ├── components/ # Shared UI components (button, card, etc.)
61
+ │ ├── directives/ # Shared directives
62
+ │ └── pipes/ # Shared pipes
63
+ ├── features/ # Lazy-loaded feature modules
64
+ │ ├── home/ # Home feature
65
+ │ │ ├── pages/
66
+ │ │ ├── components/
67
+ │ │ └── routes.ts
68
+ │ └── dashboard/ # Dashboard feature
69
+ │ ├── pages/
70
+ │ ├── components/
71
+ │ ├── services/
72
+ │ └── routes.ts
73
+ ├── layout/ # Layout components (navbar, footer, etc.)
74
+ │ ├── main-layout/
75
+ │ ├── navbar/
76
+ │ └── footer/
77
+ ├── app.routes.ts # Main routing configuration
78
+ └── app.config.ts # Application configuration
79
+ ```
80
+
81
+ ## 🎨 UI Library
82
+
83
+ **This template does NOT include a component library** (like Angular Material or PrimeNG). This is intentional to keep the template flexible and allow each project to choose their preferred UI library.
84
+
85
+ The template includes basic styled components built with Tailwind CSS as examples:
86
+ - Button component with variants
87
+ - Card component
88
+ - Basic layout components
89
+
90
+ You can:
91
+ - Keep using pure Tailwind components
92
+ - Install Angular Material: `ng add @angular/material`
93
+ - Install PrimeNG or any other library
94
+ - Build your own component library
95
+
96
+ See [`docs/UI_LIBRARIES.md`](docs/UI_LIBRARIES.md) for detailed guides on adding different UI libraries.
97
+
98
+ ## 🔨 Creating a Feature
99
+
100
+ Features are self-contained modules with their own routing:
101
+
102
+ ```bash
103
+ # 1. Create feature folder structure
104
+ src/app/features/my-feature/
105
+ ├── pages/
106
+ │ └── my-feature.page.ts
107
+ ├── components/
108
+ ├── services/
109
+ ├── routes.ts
110
+ └── index.ts
111
+ ```
112
+
113
+ ```typescript
114
+ // routes.ts
115
+ import { Routes } from '@angular/router';
116
+
117
+ export const MY_FEATURE_ROUTES: Routes = [
118
+ {
119
+ path: '',
120
+ loadComponent: () => import('./pages/my-feature.page').then(m => m.MyFeaturePage),
121
+ },
122
+ ];
123
+
124
+ // Add to app.routes.ts
125
+ {
126
+ path: 'my-feature',
127
+ loadChildren: () => import('./features/my-feature/routes').then(m => m.MY_FEATURE_ROUTES),
128
+ }
129
+ ```
130
+
131
+ **Best Practices:**
132
+ - ✅ Each feature is self-contained
133
+ - ✅ Use lazy loading for all features
134
+ - ✅ No cross-feature dependencies
135
+ - ✅ Feature-specific services stay in the feature
136
+ - ❌ Don't import from other features directly
137
+
138
+ See [`docs/FEATURES.md`](docs/FEATURES.md) for detailed guide.
139
+
140
+ ## 🔄 State Management
141
+
142
+ This template uses **Angular Signals** as the primary state management solution:
143
+
144
+ ### Simple Service Pattern
145
+
146
+ ```typescript
147
+ @Injectable()
148
+ export class MyService {
149
+ private _data = signal<Data[]>([]);
150
+ readonly data = this._data.asReadonly();
151
+
152
+ // Computed signals
153
+ readonly count = computed(() => this._data().length);
154
+
155
+ updateData(newData: Data[]) {
156
+ this._data.set(newData);
157
+ }
158
+ }
159
+ ```
160
+
161
+ ### When to Use What
162
+
163
+ | Scenario | Solution |
164
+ |----------|----------|
165
+ | Component state | Local signals |
166
+ | Feature state | Feature service with signals |
167
+ | Global state | Core service with signals |
168
+ | HTTP calls | RxJS (Angular HttpClient) |
169
+ | Complex async flows | RxJS + signals |
170
+ | Forms | Angular Forms (reactive or template) |
171
+
172
+ **Guidelines:**
173
+ - ✅ Signals for synchronous state
174
+ - ✅ RxJS for HTTP and complex async operations
175
+ - ✅ Combine both when needed
176
+ - ❌ Don't use RxJS for simple synchronous state
177
+
178
+ ## 🧪 Testing
179
+
180
+ ### Unit Tests (Vitest)
181
+
182
+ ```bash
183
+ # Run tests in watch mode
184
+ npm test
185
+
186
+ # Run tests once
187
+ npm run test:ci
188
+
189
+ # Run with coverage
190
+ npm run test:coverage
191
+ ```
192
+
193
+ ### E2E Tests (Cypress)
194
+
195
+ ```bash
196
+ # Open Cypress UI
197
+ npm run e2e
198
+
199
+ # Run headless
200
+ npm run e2e:headless
201
+ ```
202
+
203
+ See [`docs/TESTING.md`](docs/TESTING.md) for testing best practices.
204
+
205
+ ## 🎨 Theming
206
+
207
+ The template includes a theme system using Tailwind CSS:
208
+
209
+ - **Light/Dark mode** - Automatic based on system preference
210
+ - **Theme toggle** - User can switch themes manually
211
+ - **Persistent** - Theme preference saved to localStorage
212
+ - **SSR compatible** - No hydration issues
213
+
214
+ ```typescript
215
+ // In your component
216
+ readonly themeService = inject(ThemeService);
217
+
218
+ // Toggle theme
219
+ toggleTheme() {
220
+ this.themeService.toggleTheme();
221
+ }
222
+
223
+ // Read current theme
224
+ const currentTheme = this.themeService.theme(); // 'light' | 'dark'
225
+ ```
226
+
227
+ See [`docs/THEMING.md`](docs/THEMING.md) for customization guide.
228
+
229
+ ## 🔒 SSR Considerations
230
+
231
+ This template has SSR enabled. Keep these in mind:
232
+
233
+ ### Browser-only Code
234
+
235
+ ```typescript
236
+ import { isPlatformBrowser } from '@angular/common';
237
+ import { PLATFORM_ID, inject } from '@angular/core';
238
+
239
+ export class MyComponent {
240
+ private readonly platformId = inject(PLATFORM_ID);
241
+ private readonly isBrowser = isPlatformBrowser(this.platformId);
242
+
243
+ ngOnInit() {
244
+ if (this.isBrowser) {
245
+ // Browser-only code (localStorage, window, document)
246
+ localStorage.setItem('key', 'value');
247
+ }
248
+ }
249
+ }
250
+ ```
251
+
252
+ ### Common SSR Issues
253
+
254
+ - ❌ Direct use of `window`, `document`, `localStorage`
255
+ - ❌ Browser-only libraries without guards
256
+ - ✅ Check platform before browser APIs
257
+ - ✅ Use `afterNextRender()` for DOM manipulation
258
+
259
+ ## 📜 Scripts
260
+
261
+ | Command | Description |
262
+ |---------|-------------|
263
+ | `npm start` | Start dev server |
264
+ | `npm run start:ssr` | Start dev server with SSR |
265
+ | `npm run build` | Build for production |
266
+ | `npm run serve:ssr` | Serve SSR build |
267
+ | `npm test` | Run unit tests (watch) |
268
+ | `npm run test:ci` | Run unit tests (once) |
269
+ | `npm run test:coverage` | Run tests with coverage |
270
+ | `npm run lint` | Lint code |
271
+ | `npm run lint:fix` | Lint and fix |
272
+ | `npm run format` | Format code with Prettier |
273
+ | `npm run format:check` | Check formatting |
274
+ | `npm run e2e` | Open Cypress |
275
+ | `npm run e2e:headless` | Run E2E tests headless |
276
+
277
+ ## 🎯 Best Practices
278
+
279
+ ### Components
280
+
281
+ ```typescript
282
+ @Component({
283
+ selector: 'app-my-component',
284
+ imports: [CommonModule, FormsModule],
285
+ templateUrl: './my-component.html',
286
+ changeDetection: ChangeDetectionStrategy.OnPush, // Always use OnPush
287
+ })
288
+ export class MyComponent {
289
+ // Use signals for state
290
+ readonly count = signal(0);
291
+
292
+ // Use computed for derived values
293
+ readonly doubled = computed(() => this.count() * 2);
294
+
295
+ // Use output for events
296
+ readonly clicked = output<void>();
297
+
298
+ // Use input for inputs
299
+ readonly value = input.required<string>();
300
+ }
301
+ ```
302
+
303
+ ### TypeScript
304
+
305
+ - ✅ Strict mode enabled
306
+ - ✅ No `any` types
307
+ - ✅ Explicit return types for public methods
308
+ - ✅ Use type inference where appropriate
309
+ - ✅ Prefer interfaces over types for objects
310
+
311
+ ### Imports
312
+
313
+ - ✅ Use path aliases (@core, @shared, @features, @layout)
314
+ - ✅ Group imports (Angular, 3rd party, local)
315
+ - ✅ No circular dependencies
316
+ - ✅ Import from feature index files
317
+
318
+ ## ⚠️ When NOT to Use This Template
319
+
320
+ This template is **NOT suitable** for:
321
+
322
+ - ❌ **Enterprise-scale applications** - Use Nx instead
323
+ - ❌ **Micro-frontends** - Use Module Federation
324
+ - ❌ **Multi-app monorepos** - Use Nx or Turborepo
325
+ - ❌ **Projects with established UI libraries** - Start from scratch or fork
326
+ - ❌ **Complex state management needs** - Consider NgRx
327
+
328
+ This template is **PERFECT for:**
329
+
330
+ - ✅ Small to medium SPAs
331
+ - ✅ MVP and prototype projects
332
+ - ✅ Small teams (1-5 developers)
333
+ - ✅ Projects that value simplicity over complexity
334
+ - ✅ Learning modern Angular
335
+
336
+ ## 🔐 Authentication
337
+
338
+ The template includes a complete authentication flow:
339
+
340
+ - **Login** (`/auth/login`) - Sign in with email and password
341
+ - **Signup** (`/auth/signup`) - Create new account with validation
342
+ - **Password Recovery** (`/auth/password-recovery`) - Reset forgotten password
343
+
344
+ Features:
345
+ - Form validation with real-time error messages
346
+ - Loading states
347
+ - Success/error feedback
348
+ - Auth guard protecting routes
349
+ - SSR-compatible (localStorage guards)
350
+ - Mock implementation ready to connect to real API
351
+
352
+ See [Authentication Guide](docs/AUTHENTICATION.md) for integration details.
353
+
354
+ ## 📚 Documentation
355
+
356
+ - [Architecture Decisions](docs/ARCHITECTURE.md)
357
+ - [Creating Features](docs/FEATURES.md)
358
+ - [Authentication Flow](docs/AUTHENTICATION.md)
359
+ - [Testing Guide](docs/TESTING.md)
360
+ - [Theming System](docs/THEMING.md)
361
+ - [Adding UI Libraries](docs/UI_LIBRARIES.md)
362
+ - [Deployment Guide](docs/DEPLOYMENT.md)
363
+
364
+ ## 🤝 Contributing
365
+
366
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
367
+
368
+ ## 📄 License
369
+
370
+ MIT License - see [LICENSE](LICENSE) file for details.
371
+
372
+ ## 🙏 Acknowledgments
373
+
374
+ Built with:
375
+ - [Angular](https://angular.dev)
376
+ - [Tailwind CSS](https://tailwindcss.com)
377
+ - [TypeScript](https://www.typescriptlang.org)
378
+ - [Vitest](https://vitest.dev)
379
+ - [Cypress](https://www.cypress.io)
380
+
381
+ ---
382
+
383
+ **Made with ❤️ for the Angular community**
@@ -0,0 +1,84 @@
1
+ {
2
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
+ "version": 1,
4
+ "cli": {
5
+ "packageManager": "npm"
6
+ },
7
+ "newProjectRoot": "projects",
8
+ "projects": {
9
+ "huenei-angular": {
10
+ "projectType": "application",
11
+ "schematics": {},
12
+ "root": "",
13
+ "sourceRoot": "src",
14
+ "prefix": "app",
15
+ "architect": {
16
+ "build": {
17
+ "builder": "@angular/build:application",
18
+ "options": {
19
+ "browser": "src/main.ts",
20
+ "tsConfig": "tsconfig.app.json",
21
+ "assets": [
22
+ {
23
+ "glob": "**/*",
24
+ "input": "public"
25
+ }
26
+ ],
27
+ "styles": [
28
+ "src/styles.css"
29
+ ],
30
+ "server": "src/main.server.ts",
31
+ "outputMode": "server",
32
+ "ssr": {
33
+ "entry": "src/server.ts"
34
+ }
35
+ },
36
+ "configurations": {
37
+ "production": {
38
+ "budgets": [
39
+ {
40
+ "type": "initial",
41
+ "maximumWarning": "500kB",
42
+ "maximumError": "1MB"
43
+ },
44
+ {
45
+ "type": "anyComponentStyle",
46
+ "maximumWarning": "4kB",
47
+ "maximumError": "8kB"
48
+ }
49
+ ],
50
+ "outputHashing": "all"
51
+ },
52
+ "development": {
53
+ "optimization": false,
54
+ "extractLicenses": false,
55
+ "sourceMap": true
56
+ }
57
+ },
58
+ "defaultConfiguration": "production"
59
+ },
60
+ "serve": {
61
+ "builder": "@angular/build:dev-server",
62
+ "configurations": {
63
+ "production": {
64
+ "buildTarget": "huenei-angular:build:production"
65
+ },
66
+ "development": {
67
+ "buildTarget": "huenei-angular:build:development"
68
+ }
69
+ },
70
+ "defaultConfiguration": "development"
71
+ },
72
+ "test": {
73
+ "builder": "@angular/build:unit-test"
74
+ },
75
+ "lint": {
76
+ "builder": "@angular-eslint/builder:lint",
77
+ "options": {
78
+ "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
@@ -0,0 +1,39 @@
1
+ describe('Application', () => {
2
+ beforeEach(() => {
3
+ cy.visit('/');
4
+ });
5
+
6
+ it('should display the home page', () => {
7
+ cy.contains('Modern Angular Template');
8
+ });
9
+
10
+ it('should have a working navigation', () => {
11
+ cy.get('nav').should('be.visible');
12
+ cy.contains('Home').should('be.visible');
13
+ });
14
+
15
+ it('should navigate to home page', () => {
16
+ cy.contains('Home').click();
17
+ cy.url().should('include', '/home');
18
+ cy.contains('Modern Angular Template');
19
+ });
20
+
21
+ it('should have theme toggle button', () => {
22
+ cy.get('button[aria-label="Toggle theme"]').should('be.visible');
23
+ });
24
+
25
+ it('should toggle theme', () => {
26
+ const html = cy.get('html');
27
+
28
+ // Check initial state (light mode by default in most cases)
29
+ html.should('not.have.class', 'dark');
30
+
31
+ // Toggle to dark mode
32
+ cy.get('button[aria-label="Toggle theme"]').click();
33
+ html.should('have.class', 'dark');
34
+
35
+ // Toggle back to light mode
36
+ cy.get('button[aria-label="Toggle theme"]').click();
37
+ html.should('not.have.class', 'dark');
38
+ });
39
+ });
@@ -0,0 +1,196 @@
1
+ describe('Authentication Flow', () => {
2
+ beforeEach(() => {
3
+ cy.visit('/');
4
+ // Clear any existing auth state
5
+ cy.clearLocalStorage();
6
+ });
7
+
8
+ describe('Login Page', () => {
9
+ beforeEach(() => {
10
+ cy.visit('/auth/login');
11
+ });
12
+
13
+ it('should display login form', () => {
14
+ cy.contains('Sign In').should('be.visible');
15
+ cy.get('input#email').should('be.visible');
16
+ cy.get('input#password').should('be.visible');
17
+ cy.contains('button', 'Sign In').should('be.visible');
18
+ });
19
+
20
+ it('should show validation errors for empty fields', () => {
21
+ cy.contains('button', 'Sign In').click();
22
+ cy.contains('Email is required').should('be.visible');
23
+ cy.contains('Password is required').should('be.visible');
24
+ });
25
+
26
+ it('should validate email format', () => {
27
+ cy.get('input#email').type('invalid-email').blur();
28
+ cy.contains('Please enter a valid email').should('be.visible');
29
+ });
30
+
31
+ it('should successfully login with valid credentials', () => {
32
+ cy.get('input#email').type('test@example.com');
33
+ cy.get('input#password').type('password123');
34
+ cy.contains('button', 'Sign In').click();
35
+
36
+ // Should redirect to dashboard after login
37
+ cy.url().should('include', '/dashboard');
38
+ });
39
+
40
+ it('should have link to signup page', () => {
41
+ cy.contains('Sign up').click();
42
+ cy.url().should('include', '/auth/signup');
43
+ });
44
+
45
+ it('should have link to password recovery', () => {
46
+ cy.contains('Forgot your password?').click();
47
+ cy.url().should('include', '/auth/password-recovery');
48
+ });
49
+ });
50
+
51
+ describe('Signup Page', () => {
52
+ beforeEach(() => {
53
+ cy.visit('/auth/signup');
54
+ });
55
+
56
+ it('should display signup form', () => {
57
+ cy.contains('Create Account').should('be.visible');
58
+ cy.get('input#name').should('be.visible');
59
+ cy.get('input#email').should('be.visible');
60
+ cy.get('input#password').should('be.visible');
61
+ cy.get('input#confirmPassword').should('be.visible');
62
+ cy.contains('button', 'Create Account').should('be.visible');
63
+ });
64
+
65
+ it('should show validation errors for empty fields', () => {
66
+ cy.contains('button', 'Create Account').click();
67
+ cy.contains('Name is required').should('be.visible');
68
+ cy.contains('Email is required').should('be.visible');
69
+ });
70
+
71
+ it('should validate password minimum length', () => {
72
+ cy.get('input#password').type('12345').blur();
73
+ cy.contains('Password must be at least 6 characters').should('be.visible');
74
+ });
75
+
76
+ it('should validate password match', () => {
77
+ cy.get('input#name').type('Test User');
78
+ cy.get('input#email').type('test@example.com');
79
+ cy.get('input#password').type('password123');
80
+ cy.get('input#confirmPassword').type('different').blur();
81
+ cy.contains('Passwords do not match').should('be.visible');
82
+ });
83
+
84
+ it('should successfully create account', () => {
85
+ cy.get('input#name').type('Test User');
86
+ cy.get('input#email').type('test@example.com');
87
+ cy.get('input#password').type('password123');
88
+ cy.get('input#confirmPassword').type('password123');
89
+ cy.contains('button', 'Create Account').click();
90
+
91
+ cy.contains('Account created successfully!').should('be.visible');
92
+ // Should redirect to dashboard
93
+ cy.url().should('include', '/dashboard');
94
+ });
95
+
96
+ it('should have link to login page', () => {
97
+ cy.contains('Sign in').click();
98
+ cy.url().should('include', '/auth/login');
99
+ });
100
+ });
101
+
102
+ describe('Password Recovery Page', () => {
103
+ beforeEach(() => {
104
+ cy.visit('/auth/password-recovery');
105
+ });
106
+
107
+ it('should display password recovery form', () => {
108
+ cy.contains('Reset Password').should('be.visible');
109
+ cy.get('input#email').should('be.visible');
110
+ cy.contains('button', 'Send Reset Link').should('be.visible');
111
+ });
112
+
113
+ it('should show validation error for empty email', () => {
114
+ cy.contains('button', 'Send Reset Link').click();
115
+ cy.contains('Email is required').should('be.visible');
116
+ });
117
+
118
+ it('should validate email format', () => {
119
+ cy.get('input#email').type('invalid-email').blur();
120
+ cy.contains('Please enter a valid email').should('be.visible');
121
+ });
122
+
123
+ it('should show success state after submitting', () => {
124
+ cy.get('input#email').type('test@example.com');
125
+ cy.contains('button', 'Send Reset Link').click();
126
+
127
+ cy.contains('Check your email').should('be.visible');
128
+ cy.contains('test@example.com').should('be.visible');
129
+ cy.contains('button', 'Resend Email').should('be.visible');
130
+ cy.contains('button', 'Back to Sign In').should('be.visible');
131
+ });
132
+
133
+ it('should allow resending email', () => {
134
+ cy.get('input#email').type('test@example.com');
135
+ cy.contains('button', 'Send Reset Link').click();
136
+ cy.contains('Check your email').should('be.visible');
137
+
138
+ cy.contains('button', 'Resend Email').click();
139
+ // Button should show loading state briefly
140
+ });
141
+
142
+ it('should have link back to login page', () => {
143
+ cy.contains('Back to Sign In').click();
144
+ cy.url().should('include', '/auth/login');
145
+ });
146
+ });
147
+
148
+ describe('Auth Guard Integration', () => {
149
+ it('should block dashboard access when not logged in', () => {
150
+ cy.visit('/dashboard');
151
+ cy.url().should('include', '/home');
152
+ });
153
+
154
+ it('should allow dashboard access after login', () => {
155
+ cy.visit('/auth/login');
156
+ cy.get('input#email').type('test@example.com');
157
+ cy.get('input#password').type('password123');
158
+ cy.contains('button', 'Sign In').click();
159
+
160
+ cy.url().should('include', '/dashboard');
161
+ cy.contains('Dashboard').should('be.visible');
162
+ });
163
+
164
+ it('should show login button in navbar when logged out', () => {
165
+ cy.visit('/home');
166
+ cy.contains('button', 'Login').should('be.visible');
167
+ cy.contains('button', 'Logout').should('not.exist');
168
+ });
169
+
170
+ it('should show logout button in navbar when logged in', () => {
171
+ // Login first
172
+ cy.visit('/auth/login');
173
+ cy.get('input#email').type('test@example.com');
174
+ cy.get('input#password').type('password123');
175
+ cy.contains('button', 'Sign In').click();
176
+
177
+ // Navigate to home
178
+ cy.contains('Home').click();
179
+ cy.contains('button', 'Logout').should('be.visible');
180
+ cy.contains('button', 'Login').should('not.exist');
181
+ });
182
+
183
+ it('should logout user and redirect to home', () => {
184
+ // Login first
185
+ cy.visit('/auth/login');
186
+ cy.get('input#email').type('test@example.com');
187
+ cy.get('input#password').type('password123');
188
+ cy.contains('button', 'Sign In').click();
189
+
190
+ // Logout
191
+ cy.contains('button', 'Logout').click();
192
+ cy.url().should('include', '/home');
193
+ cy.contains('button', 'Login').should('be.visible');
194
+ });
195
+ });
196
+ });