Skip to content
Merged

Dev #17

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
e276cae
Merge pull request #41 from Stivenjs/feature/change-subscription
Stivenjs Feb 6, 2025
47f18cb
Corregir formato de tsconfig.json al agregar nueva línea al final del…
Feb 6, 2025
5ac675f
Actualizar la ruta de importación del entorno en el manejador de webhook
Feb 6, 2025
fbb0052
Merge pull request #43 from Stivenjs/feature/change-subscription
Stivenjs Feb 6, 2025
033d283
Agregar comandos de configuración de URLs para el entorno de desarrol…
Feb 6, 2025
fbc3a10
Merge pull request #44 from Stivenjs/feature/change-subscription
Stivenjs Feb 6, 2025
1f0d075
Agregar GSAP como dependencia, actualizar URLs de autenticación y mej…
Feb 7, 2025
060b71b
Merge pull request #46 from Stivenjs/feature/change-subscription
Stivenjs Feb 7, 2025
e952b4c
Actualizar estilos en componentes de StepGuide y AboutUs, agregar enl…
Feb 8, 2025
47d21d0
Merge pull request #47 from Stivenjs/feature/change-subscription
Stivenjs Feb 8, 2025
4d1bdb3
Actualizar estilos en componentes, optimizar descripciones y mejorar …
Feb 8, 2025
b44753e
Merge pull request #48 from Stivenjs/feature/change-subscription
Stivenjs Feb 8, 2025
272b2e0
Agregar archivos de configuración y dependencias para la gestión de p…
Feb 11, 2025
c0fcaa7
Eliminar registros de eventos en los manejadores de suscripción y ges…
Feb 12, 2025
7f27fe4
Eliminar imágenes no utilizadas de la landing y ajustar la programaci…
Feb 12, 2025
e8163e4
Simplificar respuestas del webhook cambiando mensajes a "OK" para mej…
Feb 13, 2025
e7d3978
Agregar lottie-react como dependencia, actualizar estilos en componen…
Feb 13, 2025
23aa86f
Agregar campo para los últimos 4 dígitos de la tarjeta en el esquema …
Feb 13, 2025
762ca86
Actualizar el manejo de USER_POOL_ID en planScheduler y webHookPlan, …
Feb 13, 2025
bc13ea7
Actualizar la programación de planScheduler a cada hora, agregar mane…
Feb 14, 2025
3034b58
Actualizar la lógica de actualización de suscripciones en webHookPlan…
Feb 14, 2025
5a8a193
Agregar manejo de lastFourDigits y planPrice en webHookPlan, y limpia…
Feb 15, 2025
db1aeca
Agregar configuración de ESLint, actualizar títulos de páginas y mejo…
Feb 15, 2025
da7c8d4
Agregar configuración de Prettier, ajustar comillas y eliminar líneas…
Feb 15, 2025
5024966
Actualizar configuraciones de Amplify y mejorar la consistencia del c…
Feb 15, 2025
84312c3
Agregar flujo de trabajo de Prettier para formateo automático en el r…
Feb 15, 2025
1f9200f
Ajustar comillas en el tipo de acción ADD_TOAST en use-toast.ts
Feb 15, 2025
14427bc
Forzar ejecución del workflow
Feb 15, 2025
4f0bc26
Actualizar flujo de trabajo de Prettier y ajustar comillas en use-toa…
Feb 15, 2025
c2cad11
Actualizar la versión de Node.js en el flujo de trabajo de Prettier a…
Feb 15, 2025
089a449
Actualizar flujo de trabajo de Prettier para usar Node.js v20 y mejor…
Feb 15, 2025
576608c
Actualizar el flujo de trabajo de Prettier para simplificar la obtenc…
Feb 15, 2025
5ead870
Actualizar flujo de trabajo de Prettier para evitar push en pull requ…
Feb 15, 2025
25388ff
Refactor componentes de interfaz para mejorar la legibilidad y correg…
Feb 15, 2025
ed90880
Mejorar la lógica de validación y la gestión de errores en el diálogo…
Feb 15, 2025
828e8d4
Agregar lógica para reiniciar formularios y gestionar errores en el d…
Feb 15, 2025
510884d
Refactor el diálogo de cancelación de suscripción y agregar animación…
Feb 16, 2025
6386ee8
Actualizar URL de redirección en la creación de suscripción, mostrar …
Feb 16, 2025
7912708
Refactor el componente de notificación para usar PurchaseHistory y ag…
Feb 16, 2025
9ea0aa3
Merge pull request #54 from Stivenjs/feature/change-subscription
Stivenjs Feb 16, 2025
cd6a0c3
Eliminar configuración de ESLint, actualizar la programación del plan…
Feb 16, 2025
3410879
Merge pull request #55 from Stivenjs/feature/change-subscription
Stivenjs Feb 16, 2025
44bbbfa
Agregar información del USER_POOL_ID al registro de errores en la fun…
Feb 16, 2025
b900e86
Merge pull request #57 from Stivenjs/feature/change-subscription
Stivenjs Feb 16, 2025
82a653a
Actualizar USER_POOL_ID a AMPLIFY_AUTH_USERPOOL_ID en la función Lamb…
Feb 16, 2025
f281b46
Merge pull request #58 from Stivenjs/feature/change-subscription
Stivenjs Feb 16, 2025
cf8933e
Actualizar AMPLIFY_AUTH_USERPOOL_ID a un valor específico en la funci…
Feb 16, 2025
ac39600
Merge pull request #59 from Stivenjs/feature/change-subscription
Stivenjs Feb 16, 2025
a00bb68
Actualizar USER_POOL_ID a AMPLIFY_AUTH_USERPOOL_ID en las funciones p…
Feb 17, 2025
ba98939
Merge pull request #60 from Stivenjs/feature/change-subscription
Stivenjs Feb 17, 2025
3ad368e
Actualizar el manejo de userId en PricingCard y agregar registro de u…
Feb 17, 2025
ed3b9bf
Merge pull request #61 from Stivenjs/feature/change-subscription
Stivenjs Feb 17, 2025
52c95ac
Actualizar el manejo de userId en PricingCard para utilizar cognitoUs…
Feb 17, 2025
ec57c95
Merge pull request #62 from Stivenjs/feature/change-subscription
Stivenjs Feb 17, 2025
217b17e
Actualizar AMPLIFY_AUTH_USERPOOL_ID a un valor específico en la funci…
Feb 17, 2025
3ec104f
Merge pull request #63 from Stivenjs/feature/change-subscription
Stivenjs Feb 17, 2025
00f5052
Actualizar la configuración de las APIs y el manejo de USER_POOL_ID e…
Feb 17, 2025
2d1902c
Merge pull request #64 from Stivenjs/feature/change-subscription
Stivenjs Feb 17, 2025
fa1c9b0
Forzar la actualización de la sesión de usuario y agregar registros d…
Feb 17, 2025
25877e8
Actualizar las reglas de acceso de almacenamiento y mejorar la constr…
Feb 17, 2025
8a81650
Eliminar componentes obsoletos y agregar configuración de Tailwind pa…
Feb 18, 2025
ffdd787
Merge pull request #65 from Stivenjs/feature/change-subscription
Stivenjs Feb 18, 2025
73f70a5
Eliminar el componente AuroraBackground y simplificar la configuració…
Feb 18, 2025
fc39bd6
Eliminar sombras en componentes de notificación y ajustar tamaños de …
Feb 18, 2025
1bd293c
Merge pull request #66 from Stivenjs/feature/change-subscription
Stivenjs Feb 19, 2025
3083aee
Eliminar importaciones innecesarias y optimizar componentes con imáge…
Feb 19, 2025
b735c3f
Merge pull request #67 from Stivenjs/feature/change-subscription
Stivenjs Feb 19, 2025
2a6f462
Agregar componente MarqueeLogos y ajustar configuraciones de animació…
Feb 19, 2025
980ba60
Agregar componentes de configuración personal y de tienda, incluyendo…
Feb 20, 2025
dad6844
Agregar nuevas animaciones en Tailwind y mejorar la presentación de l…
Feb 20, 2025
8db1902
Renombrar funciones de páginas para mejorar la claridad y la legibili…
Feb 20, 2025
71f3a08
Eliminar el componente FirstStepForm, ajustar importaciones en email-…
Feb 21, 2025
800e40e
Mejorar la presentación de componentes en la página de inicio y ajust…
Feb 21, 2025
3c372e0
Agregar soporte para variables de color en Tailwind, ajustar la confi…
Feb 21, 2025
59a2089
Refactor imports para utilizar el nuevo directorio 'zustand-states' y…
Feb 21, 2025
d4df10e
Agregar página de tienda con título dinámico y componente de dashboar…
Feb 22, 2025
8781acd
Implementación de middleware y rutas para gestión de tiendas
Feb 23, 2025
13ca5c1
Migrar StoreSelector a una ruta dedicada y agregar animaciones
Feb 23, 2025
65ddd5d
Eliminar íconos obsoletos y agregar función para validar nombres de t…
Feb 24, 2025
4dc05c1
Agregar opciones de venta y refactorizar lógica de creación de tienda…
Feb 24, 2025
8409a7f
Merge pull request #68 from Stivenjs/feature/change-subscription
Stivenjs Feb 24, 2025
7abf507
Eliminar íconos obsoletos, simplificar el componente DropshippingIntr…
Feb 24, 2025
0c638f9
Eliminar el uso de useRouter en varios componentes y reemplazarlo por…
Feb 24, 2025
6c42d52
Refactor lógica de navegación y gestión de tiendas: reemplazar rutas …
Feb 25, 2025
fa0c854
Agregar función de configuración rápida para crear tiendas y mejorar …
Feb 25, 2025
ad2ad84
Agregar componente InputOTP y LogoCarousel, actualizar dependencias y…
Feb 26, 2025
c9b9984
Agregar componente OTPInput en formularios de cambio de correo y veri…
Feb 27, 2025
30ff560
Agregar verificación de email y asignación de plan gratuito en el man…
Feb 27, 2025
cd434b4
Agregar asignación de plan Royal con prueba gratuita en el manejador …
Feb 27, 2025
9599fb5
Agregar funcionalidad de envío de email de bienvenida y asignación de…
Feb 28, 2025
05f946c
Agregar gestión de sesiones de dispositivos, incluyendo funciones par…
Feb 28, 2025
60b03a1
Merge pull request #69 from Stivenjs/core-multitenants
Stivenjs Feb 28, 2025
eb4b734
Agregar icono de información en la sección de datos personales y en l…
Feb 28, 2025
43ca0be
Agregar componente de progreso y mejorar estilos en la barra lateral …
Feb 28, 2025
cbdec36
Actualizar rutas y mejorar la configuración de la barra lateral en el…
Feb 28, 2025
ca04a8d
Refactor estructura de páginas y componentes, trasladando lógica de a…
Mar 1, 2025
8931abf
Mejorar la página de gestión de productos, actualizando el diseño y l…
Mar 1, 2025
b875c66
Merge pull request #70 from Stivenjs/core-multitenants
Stivenjs Mar 1, 2025
adf23e1
Actualizar rutas de importación y mejorar el diseño de la página de g…
Mar 1, 2025
bb5280f
Merge pull request #71 from Stivenjs/core-multitenants
Stivenjs Mar 1, 2025
7218a66
Actualizar rutas de importación y eliminar opción de agregar producto…
Mar 1, 2025
adda334
Merge pull request #72 from Stivenjs/core-multitenants
Stivenjs Mar 1, 2025
71bfe5b
Eliminar iconos no utilizados y agregar nuevas páginas de estadística…
Mar 2, 2025
74e7b42
Renombrar almacenamiento a 'profilePictures', ajustar permisos de acc…
Mar 2, 2025
3de5c2a
Merge pull request #73 from Stivenjs/core-multitenants
Stivenjs Mar 2, 2025
0f49c6d
Agregar página de error 404 personalizada y componente de fondo anima…
Mar 2, 2025
027faf5
Agregar navegación dinámica en la configuración de cuenta, permitiend…
Mar 2, 2025
cdc16b8
Agregar navegación dinámica en el menú lateral, permitiendo abrir y c…
Mar 3, 2025
9f11b36
Merge pull request #74 from Stivenjs/core-multitenants
Stivenjs Mar 3, 2025
311b0d3
Refactor la barra lateral de configuración de cuenta para manejar la …
Mar 3, 2025
db0a834
Merge pull request #75 from Stivenjs/core-multitenants
Stivenjs Mar 3, 2025
f7cec33
Agregar un widget de chat y una página de configuración para el gener…
Mar 5, 2025
d927420
Agregar componentes de efecto de escritura y mensaje de escritura par…
Mar 5, 2025
2117beb
Actualizar estilos en el asistente de IA y el mensaje de escritura. C…
Mar 5, 2025
80d8183
Agregar componente Switch y reemplazar ImagesSlider con FashionSlider…
Mar 6, 2025
5c93ccf
Merge pull request #76 from Stivenjs/core-multitenants
Stivenjs Mar 6, 2025
11a65a6
Eliminar componente Switch de la biblioteca de UI.
Mar 6, 2025
77699a9
Merge pull request #77 from Stivenjs/core-multitenants
Stivenjs Mar 6, 2025
dd7b05b
Eliminar componente de generador de haikus y actualizar script de des…
Mar 6, 2025
32b20ba
Refactorizar scripts de desarrollo, eliminar código innecesario y mej…
Mar 7, 2025
d4aa56c
Actualizar flujo de trabajo de Prettier: mejorar mensajes de salida y…
Mar 7, 2025
4a94008
Actualizar flujo de trabajo de Prettier: permitir push de cambios y a…
Mar 7, 2025
1952fc8
Husky test
Mar 7, 2025
7dff902
Eliminar configuración de Husky y agregar git-format-staged para mejo…
Mar 7, 2025
ccd32d8
Actualizar .prettierignore para incluir .husky y amplify_outputs.json
Mar 7, 2025
1ba45ff
Eliminar .husky de .prettierignore
Mar 7, 2025
dd282c6
Agregar páginas de gestión de dominios y pagos, e incluir el grupo de…
Mar 7, 2025
3baa2e6
Agregar campo userId a la interfaz User y actualizar esquemas y hooks…
Mar 8, 2025
7fa19ca
Agregar ReactQueryProvider y Toaster para mejorar la gestión de estad…
Mar 9, 2025
b43afdf
Merge pull request #78 from Stivenjs/core-multitenants
Stivenjs Mar 9, 2025
524fbb6
Agregar nueva página de inicio y mejorar la gestión de almacenamiento…
Mar 12, 2025
4951b5b
Actualizar layout para mejorar metadatos y cambiar fuente a Plus Jaka…
Mar 12, 2025
b4aeac1
Merge pull request #79 from Stivenjs/core-multitenants
Stivenjs Mar 12, 2025
5b058b3
Agregar página para añadir productos y actualizar rutas. Mejorar comp…
Mar 13, 2025
ea7f6ee
Agregar funciones utilitarias para obtener el ID de la tienda y actua…
Mar 14, 2025
8989341
Agregar página de edición de productos y mejorar la gestión de produc…
Mar 15, 2025
68baaf8
Merge pull request #80 from Stivenjs/core-multitenants
Stivenjs Mar 15, 2025
beecaf8
Agregar función para eliminar múltiples productos y optimizar la gest…
Mar 15, 2025
b183c47
Merge pull request #81 from Stivenjs/core-multitenants
Stivenjs Mar 15, 2025
fdd3bde
Agregar almacenamiento para imágenes de productos y mejorar la gestió…
Mar 15, 2025
2371599
Merge pull request #82 from Stivenjs/core-multitenants
Stivenjs Mar 15, 2025
04b3fca
Agregar nuevos íconos y mejorar la gestión de productos con actualiza…
Mar 17, 2025
937f1dc
Merge pull request #84 from Stivenjs/core-multitenants
Stivenjs Mar 17, 2025
b3375e2
Actualizar la configuración del esquema de tienda y optimizar la obte…
Mar 17, 2025
78996b7
Merge pull request #85 from Stivenjs/core-multitenants
Stivenjs Mar 17, 2025
46ded69
Ajustar la gestión de precios en el formulario de productos, permitie…
Mar 17, 2025
6140ff4
Merge pull request #86 from Stivenjs/core-multitenants
Stivenjs Mar 17, 2025
169a12d
Agregar validación de dominio de tienda y optimizar la gestión de dat…
Mar 18, 2025
9fd3d59
Agregar gestión de estado de conexión y suscripción para actualizacio…
Mar 18, 2025
0c3d7d1
Agregar soporte para la carga de logos y favicons de tiendas. Definir…
Mar 19, 2025
8127173
feat(store): añadir página de integración con catálogos de productos …
Mar 19, 2025
7dec2f4
Feat(apps): Integrar la clave API de Master Shop y actualizar el fluj…
Mar 19, 2025
d69a275
Merge pull request #87 from Stivenjs/core-multitenants
Stivenjs Mar 19, 2025
ec4f9c2
feat(sidebar): add NavApps component for active apps management
Mar 19, 2025
a026839
Merge pull request #88 from Stivenjs/core-multitenants
Stivenjs Mar 19, 2025
598dc1b
refactor: replace `<a>` with `<Link>` for client-side navigation
Mar 19, 2025
887d38d
feat(api-keys): agregar encriptación y desencriptación de claves de API
Mar 20, 2025
18f2073
feat(ConnectModal): encriptar clave de API antes de guardarla para me…
Mar 20, 2025
c89d39a
Reducir el número de solicitudes de paginación. Además, se agregó un …
Mar 20, 2025
50bcc3e
Merge pull request #89 from Stivenjs/core-multitenants
Stivenjs Mar 20, 2025
59535bd
feat(gestión-de-productos): agregar tabla de productos con filtrado, …
Mar 20, 2025
d95ef73
Merge pull request #90 from Stivenjs/core-multitenants
Stivenjs Mar 20, 2025
63ee7d3
fix(store): adjust initial scale for store views to 0.95
Mar 20, 2025
da439fc
Merge pull request #91 from Stivenjs/core-multitenants
Stivenjs Mar 20, 2025
bc3dbdd
feat(product-management): add sections for attributes, images, and pr…
Mar 20, 2025
658b0b9
feat(product-management): add AI-generated product description functi…
Mar 20, 2025
4ef0ddb
Merge pull request #92 from Stivenjs/core-multitenants
Stivenjs Mar 20, 2025
18077f0
feat(product-management): add AI-powered price suggestion and currenc…
Mar 20, 2025
13b7712
feat(middleware): add product ownership verification middleware
Mar 21, 2025
d2d76e1
Merge pull request #93 from Stivenjs/core-multitenants
Stivenjs Mar 22, 2025
6c17505
feat: add AWS Amplify configuration and pricing section component
Mar 22, 2025
b912fd9
refactor: remove unused import and configure Amplify in AppIntegratio…
Mar 22, 2025
95ff7ff
Merge pull request #94 from Stivenjs/core-multitenants
Stivenjs Mar 22, 2025
68476d3
feat: add slider component, update routes, and enhance store setup
Mar 22, 2025
a2b3e95
style(sidebar): update sidebar styling and layout properties
Mar 24, 2025
47eb133
Merge pull request #95 from Stivenjs/core-multitenants
Stivenjs Mar 24, 2025
c3ac573
refactor(useUserStoreData): make onboardingData optional in UserStore…
Mar 24, 2025
b6e5263
Merge pull request #96 from Stivenjs/core-multitenants
Stivenjs Mar 24, 2025
7c75feb
refactor(middleware): remove debug log and improve product ownership …
Mar 25, 2025
2bb6ba4
Merge pull request #97 from Stivenjs/core-multitenants
Stivenjs Mar 25, 2025
13a1cbd
feat(auth): configure Amplify with custom REST APIs
Mar 25, 2025
2cb8930
Merge pull request #98 from Stivenjs/core-multitenants
Stivenjs Mar 25, 2025
91fcfd6
fix(createSubscription): improve error handling and response details
Mar 25, 2025
8ff8af1
Merge pull request #99 from Stivenjs/core-multitenants
Stivenjs Mar 25, 2025
3563918
refactor(amplify): simplify error handling and configure API in compo…
Mar 25, 2025
d0be9c6
Merge pull request #100 from Stivenjs/core-multitenants
Stivenjs Mar 25, 2025
a30f433
refactor(amplify): extend Amplify configuration with custom APIs
Mar 25, 2025
2518797
Merge pull request #101 from Stivenjs/core-multitenants
Stivenjs Mar 25, 2025
4fb9c0f
refactor(login): replace router.push with window.location.href for na…
Mar 25, 2025
58b9732
Merge pull request #102 from Stivenjs/core-multitenants
Stivenjs Mar 25, 2025
a05f389
Fix en el redireccionamiento del UserMenu
almadorb Mar 25, 2025
0fb8888
Merge pull request #103 from Stivenjs/core-multitenants
almadorb Mar 25, 2025
e41231f
refactor(FirstView, NavUser): update navigation and improve user init…
almadorb Mar 25, 2025
c264f6e
Merge pull request #104 from Stivenjs/core-multitenants
almadorb Mar 25, 2025
c89e03b
refactor(store): consolidate store limit logic into useUserStores hook
Mar 26, 2025
46a7b40
Merge pull request #105 from Stivenjs/core-multitenants
Stivenjs Mar 26, 2025
c657187
feat: add AI chat trigger, pricing drawer, and storage templates
Mar 28, 2025
449f3d7
refactor(store): configure Amplify API in multiple store pages
Mar 29, 2025
1392e9a
Merge pull request #106 from Stivenjs/core-multitenants
Stivenjs Mar 29, 2025
89955f2
refactor(store): move plans data to separate file and update icon imp…
Mar 29, 2025
9cee12d
Merge pull request #107 from Stivenjs/core-multitenants
Stivenjs Mar 29, 2025
400cbb8
feat: add getStoreData and getStoreProducts functions with APIs
Mar 30, 2025
9511266
feat(collections): add collection management feature with CRUD operat…
Apr 1, 2025
cbf88b2
feat(store): implement collection management with form, table, and Cl…
Apr 1, 2025
b286f76
feat: add getStoreCollections function and API integration
Apr 1, 2025
ae42322
fix merge conflicts
May 6, 2025
99df7b7
test: verify lint-staged setup
May 6, 2025
9215f54
chore: update dependencies and config files for better maintainability
May 6, 2025
9aa0a18
chore: add pnpm as package manager in package.json
May 6, 2025
3a311c3
chore: remove packageManager field and add .nvmrc file
May 6, 2025
3266396
ci: switch from pnpm to npm for lint-staged in pre-commit hook
May 6, 2025
e6d5899
chore: update pre-commit hook to use npx for lint-staged
May 6, 2025
6723504
ci(prettier): exclude .github/ directory from formatting changes
May 6, 2025
309e94e
refactor: migrate next config from JS to TS for type safety
May 6, 2025
c4250c8
refactor: update env imports and remove debug logs
May 6, 2025
77ca471
refactor(cancelPlan): remove redundant console.log statement
May 7, 2025
1727f66
refactor(handler): remove unnecessary console.log statements
May 7, 2025
f31e2bd
refactor(webHookPlan): remove unnecessary console.log statement
Stivenjs May 7, 2025
e5b7e71
feat(testing): add Jest setup, mocks, and unit tests for StoreSelector
Stivenjs May 7, 2025
b4bf143
test: add unit tests for StoreSelector, signUp, SignIn, and useResetP…
Stivenjs May 7, 2025
872ad27
test(SignIn): import amplify_outputs.json for testing
Stivenjs May 7, 2025
3db95d7
chore: add rootDir configuration to jest.config.js
Stivenjs May 7, 2025
f729d07
refactor(test): remove redundant amplify_outputs.json mocks and updat…
Stivenjs May 7, 2025
b110265
test: add mock for amplify_outputs.json and suppress console warnings
Stivenjs May 7, 2025
34ddcc6
refactor(auth): remove Amplify.configure calls and related mocks
Stivenjs May 7, 2025
58260e9
chore: remove unused package-lock.json from amplify/node_modules
Stivenjs May 7, 2025
239220c
chore: add amplify/node_modules/ to .gitignore
Stivenjs May 7, 2025
35ab629
chore: remove amplify/team-provider-info.json
Stivenjs May 7, 2025
5f909cb
Merge pull request #11 from Fasttify/core-multitenants
Stivenjs May 7, 2025
0f651d3
chore: update project name and migrate to Amplify Gen2
Stivenjs May 7, 2025
b499076
Update README.md
Stivenjs May 7, 2025
3e9ff7f
ci: add SonarQube configuration and GitHub Actions workflow
Stivenjs May 7, 2025
942b8ac
chore: remove commented-out configurations in sonar-project.properties
Stivenjs May 7, 2025
b9757fd
refactor(account-settings): improve subscription handling and UI load…
Stivenjs May 7, 2025
077b646
feat(auth): add id field to UserSubscription model and handler
Stivenjs May 7, 2025
62a4e17
refactor: replace Lucide Loader2 with custom Loader component
Stivenjs May 7, 2025
581a15c
refactor: clean up and optimize code across multiple components
Stivenjs May 7, 2025
5779727
refactor(payments): move API key schema to shared lib and update erro…
Stivenjs May 7, 2025
d94820b
ci: remove SonarQube configuration and related workflow
Stivenjs May 7, 2025
c1c9c4f
Merge pull request #13 from Fasttify/core-multitenants
Stivenjs May 7, 2025
922a281
refactor(layouts): reorganize layout and component structure for bett…
Stivenjs May 8, 2025
dd5b972
refactor(test): update mock path and remove unused variable
Stivenjs May 8, 2025
567fbf1
refactor: update subscription store and fix animation paths
Stivenjs May 8, 2025
e39ed16
Merge pull request #14 from Fasttify/core-multitenants
Stivenjs May 9, 2025
aad14c9
refactor: update import paths for consistency
Stivenjs May 9, 2025
8b51908
Merge pull request #15 from Fasttify/core-multitenants
Stivenjs May 9, 2025
1df44f9
chore: update .env.example and .gitignore for environment configuration
Stivenjs May 9, 2025
6b9f481
refactor: remove logger and simplify auth event handling
Stivenjs May 9, 2025
2bef0e6
Merge pull request #16 from Fasttify/fix/cookies
Stivenjs May 9, 2025
bb0836c
Merge branch 'main' into dev
Stivenjs May 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
47 changes: 47 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Formateo con Prettier

on:
push:
branches:
- '*' # Cualquier rama
pull_request:
branches:
- main
- dev

permissions:
contents: write # Permite que la acción haga push de los cambios

jobs:
prettier:
name: Aplicar Prettier
runs-on: ubuntu-latest

steps:
- name: Checkout del repositorio
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Configurar Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Instalar dependencias
run: npm ci

- name: Ejecutar Prettier
run: npx prettier --write .

- name: Verificar si hay cambios
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git diff --name-only | grep -v "^.github/"
if git diff --staged --quiet; then
echo "✅ No hay cambios de formateo. No es necesario hacer commit."
exit 0
fi
git commit -m "✨ Formateo automático con Prettier"
git push origin $GITHUB_REF_NAME
30 changes: 30 additions & 0 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Ejecutar tests con Jest

on:
push:
branches:
- '*' # En cualquier push a cualquier rama
pull_request:
branches:
- main
- dev

jobs:
tests:
name: Ejecutar pruebas unitarias
runs-on: ubuntu-latest

steps:
- name: Checkout del repositorio
uses: actions/checkout@v4

- name: Configurar Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Instalar dependencias
run: npm ci

- name: Ejecutar pruebas
run: npm run test -- --coverage
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ yarn-debug.log*
yarn-error.log*

# local env files
.env*.local
.env

# vercel
.vercel
Expand All @@ -49,6 +49,7 @@ amplify/mock-data
amplify/mock-api-resources
amplify/backend/amplify-meta.json
amplify/backend/.temp
amplify/node_modules/
build/
dist/
aws-exports.js
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
corepack disable
34 changes: 34 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Node.js
node_modules

# Build
dist
out
.build
.next


# Amplify

.amplify
# Git
.git

# Configuración y dependencias
package-lock.json
pnpm-lock.yaml
yarn.lock
amplify_outputs.json
# Archivos de entorno
.env
.env.local
.env.*.local

# Caché
.cache
.vscode

# Archivos
next.config.js
package.json
postcss.config.mjs
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"singleQuote": true,
"semi": false,
"trailingComma": "es5",
"tabWidth": 2,
"printWidth": 100,
"arrowParens": "avoid"
}
1 change: 1 addition & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Code of Conduct

This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
opensource-codeofconduct@amazon.com with any additional questions or comments.
20 changes: 9 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,23 @@ documentation, we greatly value feedback and contributions from our community.
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
information to effectively respond to your bug report or contribution.


## Reporting Bugs/Feature Requests

We welcome you to use the GitHub issue tracker to report bugs or suggest features.

When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:

* A reproducible test case or series of steps
* The version of our code being used
* Any modifications you've made relevant to the bug
* Anything unusual about your environment or deployment

- A reproducible test case or series of steps
- The version of our code being used
- Any modifications you've made relevant to the bug
- Anything unusual about your environment or deployment

## Contributing via Pull Requests

Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:

1. You are working against the latest source on the *main* branch.
1. You are working against the latest source on the _main_ branch.
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.

Expand All @@ -39,20 +38,19 @@ To send us a pull request, please:
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).


## Finding contributions to work on
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.

Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.

## Code of Conduct

This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
opensource-codeofconduct@amazon.com with any additional questions or comments.


## Security issue notifications
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.

If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.

## Licensing

Expand Down
71 changes: 57 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Fasttify - Dropshipping Ecommerce Platform

Welcome to **Fasttify**, the ultimate SaaS solution for creating and managing personalized dropshipping stores effortlessly. Built on **AWS Amplify** with a modern **Next.js** front end, Fasttify combines scalability, performance, and a user-friendly interface.
Welcome to **Fasttify**, the ultimate SaaS solution for creating and managing personalized dropshipping stores effortlessly. Built on **AWS Amplify Gen2** with a modern **Next.js** front end, Fasttify combines scalability, performance, and a user-friendly interface.

## Overview

Expand All @@ -12,21 +12,20 @@ Fasttify empowers users to build their ecommerce business with:

## Features

- **Authentication**: Secure and customizable user sign-up and sign-in powered by AWS Cognito.
- **Authentication**: Secure and customizable user sign-up and sign-in powered by AWS Cognito with Amplify Gen2's improved TypeScript support.
- **Subscriptions**: Integrated with **Mercado Pago**, enabling easy subscription management with upgrade, downgrade, and cancellation functionality.
- **Custom Plans**: Personalize user plans with AWS Lambda and custom attributes.
- **API and Database**: Leverages AWS AppSync (GraphQL API) and DynamoDB for fast, scalable data management.
- **Custom Plans**: Personalize user plans with AWS Lambda and custom attributes, leveraging Gen2's enhanced type safety.
- **API and Database**: Utilizes Amplify Gen2's improved data modeling with TypeScript for AWS AppSync (GraphQL API) and DynamoDB, providing fast, scalable data management.
- **Webhooks**: Stay synchronized with real-time notifications for subscription updates.
- **Type Safety**: Benefit from Amplify Gen2's TypeScript-first approach for better developer experience and fewer runtime errors.
- **Local Development**: Enhanced local development experience with Gen2's improved tooling and emulators.

## Quick Start

1. **Clone the Repository**:

```bash

git clone https://github.com/Stivenjs/Fasttify.git


cd fasttify
```

Expand All @@ -36,19 +35,23 @@ Fasttify empowers users to build their ecommerce business with:
npm install
```

3. **Setup Amplify**:
3. **Setup Amplify Gen2**:

- Initialize Amplify in your project:
```bash
amplify init
npx @aws-amplify/cli@latest init
```
- Add authentication:
```bash
amplify add auth
npx @aws-amplify/cli@latest add auth
```
- Generate the TypeScript definitions:
```bash
npx @aws-amplify/cli@latest generate
```
- Push the changes:
- Deploy your backend:
```bash
amplify push
npx @aws-amplify/cli@latest deploy
```

4. **Start the Development Server**:
Expand All @@ -59,6 +62,47 @@ Fasttify empowers users to build their ecommerce business with:

Your app will be live at `http://localhost:3000`.

## Amplify Gen2 Benefits

Fasttify leverages AWS Amplify Gen2 to provide:

- **TypeScript-First Experience**: Improved type safety and developer experience.
- **Simplified Resource Definition**: Define your backend resources using TypeScript.
- **Enhanced Local Development**: Test your app locally with improved emulators.
- **Flexible Deployment Options**: Deploy your entire stack or individual resources.
- **Better Performance**: Optimized client libraries for faster application performance.
- **Improved DX**: Better error messages and development workflows.

## AWS Account Setup for Local Development

### Prerequisites

If you already have an AWS account and a locally configured profile, you only need to add the IAM role `AmplifyBackendDeployFullAccess` to your configured AWS profile.

### IAM Identity Center Configuration

If you don't have a configured AWS profile, follow these steps:

1. **Enable IAM Identity Center**:

- Sign in to the AWS console
- Access the IAM Identity Center page and select "Enable"
- When prompted, select "Enable with AWS Organizations" and click "Continue"

2. **Configure a user with Amplify permissions**:

- Open CloudShell from the AWS console
- Run commands to set up appropriate permissions

3. **Create a permission set for Amplify**:
- In the IAM Identity Center navigation, select "Permission sets"
- Select "Create permission set"
- Choose "Custom permission set" and click "Next"
- Expand "AWS Managed Policies" and search for "amplify"
- Select "AmplifyBackendDeployFullAccess" and click "Next"
- Name the permission set "amplify-policy" and click "Next"
- Review and select "Create"

## Deploying to AWS

To deploy Fasttify to AWS:
Expand All @@ -67,7 +111,7 @@ To deploy Fasttify to AWS:
2. Set up branches for production and development.
3. Deploy directly from Amplify Console.

Refer to the [AWS Amplify Deployment Guide](https://docs.amplify.aws/nextjs/start/quickstart/nextjs-app-router-client-components/#deploy-a-fullstack-app-to-aws) for detailed instructions.
Refer to the [AWS Amplify Gen2 Deployment Guide](https://docs.amplify.aws/gen2/deploy/fullstack-app/) for detailed instructions.

## Contributing

Expand All @@ -84,4 +128,3 @@ This project is licensed under the MIT-0 License. See the [LICENSE](LICENSE) fil
---

### Build your dream dropshipping business with Fasttify today! 🚀✨

8 changes: 3 additions & 5 deletions amplify/.config/project-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"whyContinueWithGen1": "Prefer not to answer",
"projectName": "MasterDop",
"projectName": "fasttify",
"version": "3.1",
"frontend": "javascript",
"javascript": {
Expand All @@ -12,7 +12,5 @@
"StartCommand": "npm.cmd run-script start"
}
},
"providers": [
"awscloudformation"
]
}
"providers": ["awscloudformation"]
}
2 changes: 2 additions & 0 deletions amplify/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Getting Started with Amplify CLI

This directory was generated by [Amplify CLI](https://docs.amplify.aws/cli).

Helpful resources:

- Amplify documentation: https://docs.amplify.aws.
- Amplify CLI documentation: https://docs.amplify.aws/cli.
- More details on this folder & generated files: https://docs.amplify.aws/cli/reference/files.
Expand Down
20 changes: 10 additions & 10 deletions amplify/auth/custom-message/handler.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { CustomMessageTriggerHandler } from "aws-lambda";
import type { CustomMessageTriggerHandler } from 'aws-lambda'

export const handler: CustomMessageTriggerHandler = async (event) => {
if (event.triggerSource === "CustomMessage_ForgotPassword") {
export const handler: CustomMessageTriggerHandler = async event => {
if (event.triggerSource === 'CustomMessage_ForgotPassword') {
// Lógica para Forgot Password
event.response.emailMessage = `Tu nuevo código de un solo uso es ${event.request.codeParameter}`;
event.response.emailSubject = "Restablecer mi contraseña";
} else if (event.triggerSource === "CustomMessage_SignUp") {
event.response.emailMessage = `Tu nuevo código de un solo uso es ${event.request.codeParameter}`
event.response.emailSubject = 'Restablecer mi contraseña'
} else if (event.triggerSource === 'CustomMessage_SignUp') {
// Lógica para Sign Up
event.response.emailMessage = `Tu nuevo código de un solo uso es ${event.request.codeParameter}`;
event.response.emailSubject = "Verifica tu cuenta";
event.response.emailMessage = `Tu nuevo código de un solo uso es ${event.request.codeParameter}`
event.response.emailSubject = 'Verifica tu cuenta'
}

return event;
};
return event
}
8 changes: 4 additions & 4 deletions amplify/auth/custom-message/resource.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineFunction } from "@aws-amplify/backend";
import { defineFunction } from '@aws-amplify/backend'

export const customMessage = defineFunction({
name: "custom-message",
resourceGroupName: "auth",
});
name: 'custom-message',
resourceGroupName: 'auth',
})
Loading
Loading