Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
533 commits
Select commit Hold shift + click to select a range
95486b7
feat(api): implement comprehensive endpoint synchronization system
Santiago1010 Oct 5, 2025
b5d26ba
chore(i18n): translate console messages to english and clean up assoc…
Santiago1010 Oct 5, 2025
412d111
chore(i18n): add array validation message key
Santiago1010 Oct 5, 2025
f337e26
refactor(config): enhance constants helper and remove unused middlewares
Santiago1010 Oct 5, 2025
8fa5546
refactor(architecture): reorganize project structure and consolidate …
Santiago1010 Oct 5, 2025
e137c78
feat(cli): add CRUD endpoints generator script
Santiago1010 Oct 5, 2025
3c4102a
chore(routes): add platform-specific route index files
Santiago1010 Oct 5, 2025
3604960
refactor(cli): enhance CRUD endpoints generator and update structure
Santiago1010 Oct 5, 2025
6926f99
feat(api): implement multi-platform routing and restore logging service
Santiago1010 Oct 5, 2025
ee293f3
chore(middleware): restore CORS middleware and update scripts
Santiago1010 Oct 5, 2025
83d9b74
refactor(crud): consolidate templates and update generation paths
Santiago1010 Oct 5, 2025
1430983
chore: auto-update version and changelog [skip ci]
actions-user Oct 5, 2025
6326306
Merge pull request #42 from Santiago1010/feature/scripts-3
Santiago1010 Oct 5, 2025
e85669c
refactor(utils): reorganize helper modules into utils directory
Santiago1010 Oct 9, 2025
972df63
chore(tests): update test file paths and imports for utils reorganiza…
Santiago1010 Oct 9, 2025
79a78c2
chore: auto-update version and changelog [skip ci]
actions-user Oct 9, 2025
396f9c5
Merge pull request #49 from Santiago1010/47-refactor-separate-helpers…
Santiago1010 Oct 9, 2025
2879965
refactor(crud): reorganize helper structure and enhance test coverage
Santiago1010 Oct 9, 2025
39f24d5
refactor(crud): convert private methods to public and enhance test co…
Santiago1010 Oct 9, 2025
eeea279
test(crud): fix template error handling test with proper module mocking
Santiago1010 Oct 9, 2025
3e6dc4d
test(crud): simplify template error test with fs/promises mock
Santiago1010 Oct 9, 2025
2dfcc07
feat(response): enhance success helper with optional message support
Santiago1010 Oct 9, 2025
e54c85a
refactor(performance): remove performance helper and related tests
Santiago1010 Oct 9, 2025
d42efb9
chore: auto-update version and changelog [skip ci]
actions-user Oct 9, 2025
ad0976e
Merge pull request #53 from Santiago1010/50-achieve-required-unit-tes…
Santiago1010 Oct 9, 2025
8003f1e
docs: add contributing and developer setup guides
Santiago1010 Oct 9, 2025
f5a763e
chore: auto-update version and changelog [skip ci]
actions-user Oct 9, 2025
052cefa
Merge pull request #54 from Santiago1010/45-create-contributingmd-and…
Santiago1010 Oct 9, 2025
404fe59
refactor(utils): move utilities helper to utils directory and clean u…
Santiago1010 Oct 9, 2025
e2275b7
feat(docs): add OpenAPI documentation structure
Santiago1010 Oct 9, 2025
705f217
docs(api): add OpenAPI paths structure for authentication
Santiago1010 Oct 9, 2025
eba3b8f
feat(docs): add Swagger UI documentation endpoint in development
Santiago1010 Oct 9, 2025
ee78fa4
fix(docs): correct Swagger UI endpoint routing
Santiago1010 Oct 9, 2025
2a4e6f9
feat(docs): add login endpoint documentation and enhance tag descript…
Santiago1010 Oct 9, 2025
92c0d74
feat(docs): enhance login endpoint documentation with request schema
Santiago1010 Oct 9, 2025
eb47f96
chore: auto-update version and changelog [skip ci]
actions-user Oct 9, 2025
cec13cf
Merge pull request #55 from Santiago1010/feature/swagger-ui
Santiago1010 Oct 9, 2025
6a2eb2a
docs(auth): rename session doc file and update exports
Santiago1010 Oct 9, 2025
692682b
feat(web): add web routes structure with auth endpoint
Santiago1010 Oct 9, 2025
ad2de52
feat(auth): implement web login endpoint with validation
Santiago1010 Oct 9, 2025
7a568f7
feat(auth): implement login service with credential validation
Santiago1010 Oct 9, 2025
acbef32
refactor(errors): integrate boom for standardized error handling
Santiago1010 Oct 9, 2025
857195c
feat(auth): implement password validation and account confirmation ch…
Santiago1010 Oct 10, 2025
f6cdd8d
feat(auth): add profile type virtual fields to user accounts
Santiago1010 Oct 10, 2025
9aecd3c
feat(auth): implement JWT token generation for login
Santiago1010 Oct 10, 2025
36c9118
feat(auth): add refresh token support and device info tracking
Santiago1010 Oct 10, 2025
d87057f
feat(auth): implement device tracking and management service
Santiago1010 Oct 11, 2025
56e1f70
feat(auth): enhance device management with model and improved tracking
Santiago1010 Oct 11, 2025
2341fbb
feat(auth): implement role-based access and safe mode authentication
Santiago1010 Oct 11, 2025
e49759e
feat(auth): implement scope-based permission system
Santiago1010 Oct 11, 2025
666cfb4
feat(auth): implement account-specific scopes and role-based permissions
Santiago1010 Oct 11, 2025
d4cc3ef
feat(auth): implement access tracking and token validation system
Santiago1010 Oct 11, 2025
5e30dd4
feat(auth): implement http-only cookies and unified error messaging
Santiago1010 Oct 11, 2025
08342b3
feat(auth): implement login validation and fingerprint support
Santiago1010 Oct 11, 2025
038d59b
feat(auth): implement access expiration and cleanup
Santiago1010 Oct 11, 2025
bd5f6bc
refactor(auth): optimize access record management
Santiago1010 Oct 11, 2025
7575a10
feat(auth): include safe mode status in login response
Santiago1010 Oct 11, 2025
9a288d7
feat(auth): implement role-based access control system
Santiago1010 Oct 11, 2025
cf56ef2
chore: auto-update version and changelog [skip ci]
actions-user Oct 11, 2025
604dbcb
Merge pull request #56 from Santiago1010/48-feature-create-web-login-…
Santiago1010 Oct 11, 2025
7e17bf4
feat(auth): implement login rate limiting and session management
Santiago1010 Oct 11, 2025
8f8b43d
docs(cache): add comprehensive jsdoc documentation to cache helper
Santiago1010 Oct 11, 2025
f0dd433
test(cache): add comprehensive unit test suite for cache helper
Santiago1010 Oct 12, 2025
1f642d9
test(cache): add comprehensive error handling and edge case tests
Santiago1010 Oct 12, 2025
774a4fd
chore: auto-update version and changelog [skip ci]
actions-user Oct 12, 2025
b1401b5
Merge pull request #59 from Santiago1010/57-implement-security-functi…
Santiago1010 Oct 12, 2025
b413cd1
feat(security): implement comprehensive security middleware suite
Santiago1010 Oct 12, 2025
6811ef2
refactor(security): centralize security constants in utils module
Santiago1010 Oct 12, 2025
c3cefca
feat(security): implement comprehensive input sanitization and securi…
Santiago1010 Oct 12, 2025
e9e28f8
refactor(security): consolidate security pattern imports in sanitizer…
Santiago1010 Oct 12, 2025
d8c44c4
chore(structure): reorganize security middleware and update file stru…
Santiago1010 Oct 12, 2025
0a5a68a
chore: auto-update version and changelog [skip ci]
actions-user Oct 12, 2025
e2afa2e
Merge pull request #60 from Santiago1010/feature/security
Santiago1010 Oct 12, 2025
c506974
feat(ci): add endpoint documentation validation in pre-push hook
Santiago1010 Oct 12, 2025
d2e2319
chore: auto-update version and changelog [skip ci]
actions-user Oct 12, 2025
0403af5
Merge pull request #61 from Santiago1010/43-implement-automatic-lint-…
Santiago1010 Oct 12, 2025
ddb888b
chore(config): simplify environment configuration and add vault support
Santiago1010 Oct 12, 2025
0d1041d
refactor(config): migrate sensitive configuration to vault and simpli…
Santiago1010 Oct 12, 2025
4d20a30
feat(vault): implement secure secrets management with HashiCorp Vault…
Santiago1010 Oct 12, 2025
102e0a0
refactor(vault): simplify vault helper and integrate with database co…
Santiago1010 Oct 13, 2025
f03afc7
refactor(auth): convert session service to instance-based with async …
Santiago1010 Oct 13, 2025
f3f51e7
refactor(services): convert all services to instance-based pattern wi…
Santiago1010 Oct 13, 2025
97b79af
refactor(config): simplify environment configuration and update socke…
Santiago1010 Oct 13, 2025
dda9a7e
chore(structure): update project structure documentation
Santiago1010 Oct 13, 2025
47db226
feat(cache): integrate vault for redis password management
Santiago1010 Oct 13, 2025
fd055c0
feat(auth): integrate vault for jwt secret management and update tests
Santiago1010 Oct 13, 2025
5facbd4
fix(auth): resolve variable naming conflict in session controller
Santiago1010 Oct 13, 2025
a5a2087
feat(i18n): add localized error messages for rate limiting and intern…
Santiago1010 Oct 13, 2025
5401456
chore: auto-update version and changelog [skip ci]
actions-user Oct 13, 2025
41ac6d0
Merge pull request #65 from Santiago1010/feature/vault
Santiago1010 Oct 13, 2025
55113c0
chore(config): update redis secret path and gitignore
Santiago1010 Oct 13, 2025
ad1fa20
chore: auto-update version and changelog [skip ci]
actions-user Oct 13, 2025
3002baf
Merge pull request #66 from Santiago1010/feature/backup
Santiago1010 Oct 13, 2025
04ef388
fix(db): correct model reference syntax in access services
Santiago1010 Oct 13, 2025
31dba57
refactor(middleware): reorganize middleware structure and move cors t…
Santiago1010 Oct 14, 2025
fc6d689
feat(context): implement context builder middleware and host services
Santiago1010 Oct 14, 2025
7c617c4
refactor(scripts): simplify model generator and improve code organiza…
Santiago1010 Oct 14, 2025
f4cbddd
feat(auth): implement host validation in context builder middleware
Santiago1010 Oct 14, 2025
e0fad0e
feat(security): enhance host validation with detailed error logging
Santiago1010 Oct 14, 2025
504fbe9
feat(auth): implement host validation in context builder middleware
Santiago1010 Oct 14, 2025
b808912
feat(context): implement page validation and enhance context management
Santiago1010 Oct 14, 2025
df0f3bc
refactor(context): parameterize host middleware with environment context
Santiago1010 Oct 14, 2025
f04ef1d
feat(auth): set JWT audience dynamically from host context
Santiago1010 Oct 14, 2025
93c073f
feat(context): auto-create unknown pages and fix boolean defaults
Santiago1010 Oct 14, 2025
5917b0b
feat(auth): implement environment-based JWT secrets and fix context typo
Santiago1010 Oct 14, 2025
a664027
refactor(context): separate environment and host middleware setup
Santiago1010 Oct 14, 2025
12ea8e0
chore(routes): add environment context to all route modules
Santiago1010 Oct 14, 2025
0c848a8
refactor(routes): centralize environment middleware and add endpoint …
Santiago1010 Oct 14, 2025
c07f266
fix(context): add missing next() call in setHost middleware
Santiago1010 Oct 14, 2025
6c813b4
refactor(security): improve sanitization patterns and endpoint tracking
Santiago1010 Oct 14, 2025
23ec961
fix(context): add missing next() call in setHost middleware
Santiago1010 Oct 14, 2025
0aa5112
feat(context): implement advanced endpoint matching with pattern reco…
Santiago1010 Oct 14, 2025
a750b1c
feat(audit): implement page-endpoint usage logging
Santiago1010 Oct 14, 2025
fe270ac
feat(audit): implement page-endpoint relationship tracking
Santiago1010 Oct 14, 2025
501b2b3
feat(audit): enhance page-endpoint tracking with transaction safety a…
Santiago1010 Oct 14, 2025
4b49e3d
feat(audit): implement request field tracking and improve database in…
Santiago1010 Oct 14, 2025
02fd4c9
feat(security): implement field-level authorization and audit tracking
Santiago1010 Oct 14, 2025
c06c1b5
feat(auth): implement web session token validation middleware
Santiago1010 Oct 14, 2025
1cf17dd
feat(auth): enhance session validation and add protected test endpoint
Santiago1010 Oct 14, 2025
f4bc021
feat(auth): enhance session validation and add protected route
Santiago1010 Oct 14, 2025
d9fe716
feat(auth): enhance token validation and session management
Santiago1010 Oct 14, 2025
bc6593e
feat(auth): enhance session validation with database integrity checks
Santiago1010 Oct 14, 2025
2d1c025
feat(auth): enhance session validation and user data exposure
Santiago1010 Oct 14, 2025
69d7ef5
feat(auth): enhance user session with comprehensive profile data
Santiago1010 Oct 14, 2025
5c22441
feat(auth): implement employee profile support and enhance session va…
Santiago1010 Oct 14, 2025
8e1f96d
feat(auth): enhance session with scopes and device information
Santiago1010 Oct 14, 2025
2c90628
perf(auth): optimize session validation with parallel processing and …
Santiago1010 Oct 14, 2025
fef8a5b
perf(middleware): optimize audit and context middleware with signific…
Santiago1010 Oct 14, 2025
1150d23
chore(auth): remove protected test endpoint and debug code
Santiago1010 Oct 14, 2025
682a46f
chore: auto-update version and changelog [skip ci]
actions-user Oct 14, 2025
69568e2
Merge pull request #69 from Santiago1010/feature/useful-middlewares
Santiago1010 Oct 14, 2025
efa52ef
refactor(services): convert static services to instance-based with de…
Santiago1010 Oct 15, 2025
33e6713
refactor(services): implement dependency injection pattern across ser…
Santiago1010 Oct 15, 2025
f54a04e
feat(crud): add external transaction support to service template methods
Santiago1010 Oct 15, 2025
24a65fc
feat(auth): add notBefore filter to access queries and constructor re…
Santiago1010 Oct 15, 2025
bdf2756
refactor(auth): move fingerprint from request body to headers
Santiago1010 Oct 15, 2025
0956191
chore: auto-update version and changelog [skip ci]
actions-user Oct 15, 2025
f4d11cb
Merge pull request #82 from Santiago1010/fix/script-services
Santiago1010 Oct 15, 2025
9afcca3
feat(auth): add security level to user session and role associations
Santiago1010 Oct 15, 2025
61b420e
feat(validation): add security level validation to all schema types
Santiago1010 Oct 15, 2025
6ba6fe4
feat(validation): add security level validation to database schemas
Santiago1010 Oct 15, 2025
636c1ba
docs(validation): add comprehensive documentation to schema generators
Santiago1010 Oct 15, 2025
f421816
feat(endpoints): add security level extraction and validation to endp…
Santiago1010 Oct 15, 2025
300acd7
refactor(auth): remove protected route and session validation
Santiago1010 Oct 15, 2025
284ed74
chore: auto-update version and changelog [skip ci]
actions-user Oct 15, 2025
7290b2e
Merge pull request #83 from Santiago1010/68-add-security-level-valida…
Santiago1010 Oct 15, 2025
1af3fa1
feat(db): add new database models and husky hooks
Santiago1010 Oct 15, 2025
37ec929
chore(deps): update dependencies and add new packages
Santiago1010 Oct 15, 2025
357dfc3
feat(emails): add email service structure and session mailer
Santiago1010 Oct 15, 2025
84734c1
feat(emails): implement email service with SMTP configuration and wel…
Santiago1010 Oct 16, 2025
e3fffce
feat(emails): implement email service with SMTP configuration and wel…
Santiago1010 Oct 16, 2025
24c01f8
feat(emails): implement email templates with responsive design system
Santiago1010 Oct 16, 2025
4714e02
fix(emails): update template variables and image handling
Santiago1010 Oct 16, 2025
9d65ed9
feat(auth): add logout functionality
Santiago1010 Oct 22, 2025
4df09bf
fix(auth): implement proper logout functionality and update log models
Santiago1010 Oct 22, 2025
9ebf89c
feat(auth): implement user signup functionality
Santiago1010 Oct 22, 2025
cc77496
feat(auth): enhance signup with validation and security improvements
Santiago1010 Oct 23, 2025
5c8bb09
feat(auth): add token system for email confirmation and name formatting
Santiago1010 Oct 23, 2025
0d441b3
feat(auth): integrate email verification in signup flow
Santiago1010 Oct 23, 2025
b26d460
fix(emails): correct template variable name in welcome email
Santiago1010 Oct 23, 2025
f6427b2
feat(auth): add email confirmation service and controller
Santiago1010 Oct 23, 2025
c15b95b
feat(auth): add email confirmation resend endpoint and validation
Santiago1010 Oct 23, 2025
99effab
feat(auth): add email confirmation endpoint and validation
Santiago1010 Oct 23, 2025
5415d49
feat(auth): implement email confirmation service logic
Santiago1010 Oct 23, 2025
7abc828
fix(auth): complete email confirmation flow with account updates
Santiago1010 Oct 23, 2025
d17a188
feat(auth): enhance email confirmation flow and template structure
Santiago1010 Oct 23, 2025
59f45b8
feat(auth): enhance signup with preferences and improve internal code…
Santiago1010 Oct 23, 2025
b549ccf
refactor(auth): remove legacy user models and simplify session service
Santiago1010 Oct 25, 2025
5c52c1f
feat(db): implement comprehensive user management models
Santiago1010 Oct 25, 2025
93f779d
feat(auth): migrate to credential-based authentication system
Santiago1010 Oct 25, 2025
d5df39e
fix(db): correct model associations and comment out unused relations
Santiago1010 Oct 25, 2025
b7bbd2a
feat(auth): add language and timezone support with user preferences
Santiago1010 Oct 25, 2025
339009d
fix(auth): correct model configurations and signup flow
Santiago1010 Oct 25, 2025
a1cf7bc
feat(auth): update email confirmation to use credential-based system
Santiago1010 Oct 25, 2025
546607b
refactor(auth): update session middleware for credential-based authen…
Santiago1010 Oct 25, 2025
f858a49
refactor(auth): simplify role targets and update default role assignment
Santiago1010 Oct 25, 2025
15dfb79
refactor(auth): simplify session middleware and enhance token creation
Santiago1010 Oct 25, 2025
3efe9fa
feat(users): implement name formatting with setters and virtual compl…
Santiago1010 Oct 25, 2025
d388aa8
feat(auth): enhance email confirmation with password verification
Santiago1010 Oct 25, 2025
7f03721
feat(users): implement comprehensive user management service
Santiago1010 Oct 25, 2025
810d9eb
feat(auth): implement specialized service classes for user management
Santiago1010 Oct 25, 2025
81180fb
docs(auth): add signup endpoint documentation
Santiago1010 Oct 25, 2025
437cdf6
docs(auth): add logout endpoint documentation
Santiago1010 Oct 25, 2025
ad7296d
docs(auth): add email confirmation endpoints documentation
Santiago1010 Oct 25, 2025
a0056ba
feat(auth): implement email confirmation system
Santiago1010 Oct 25, 2025
a1c7c51
chore: auto-update version and changelog [skip ci]
actions-user Oct 25, 2025
eb70a7e
Merge pull request #87 from Santiago1010/feature/auth-web
Santiago1010 Oct 25, 2025
8f7d704
feat(docs): add UML diagram generation for API endpoints
Santiago1010 Oct 25, 2025
d66af60
chore: auto-update version and changelog [skip ci]
actions-user Oct 25, 2025
b81abbc
Merge pull request #88 from Santiago1010/85-generate-plantuml-puml-fi…
Santiago1010 Oct 25, 2025
1932dce
refactor(deps): replace moment-timezone with dayjs for date handling
Santiago1010 Oct 25, 2025
8ccb69f
refactor(deps): complete migration from moment to dayjs
Santiago1010 Oct 25, 2025
e625aca
chore(deps): remove moment and moment-timezone dependencies
Santiago1010 Oct 25, 2025
2d9480f
docs: update documentation to reflect dayjs migration
Santiago1010 Oct 25, 2025
a5581e5
test: update context helper test mocks for dayjs migration
Santiago1010 Oct 25, 2025
155627c
chore: auto-update version and changelog [skip ci]
actions-user Oct 25, 2025
2957d82
Merge pull request #89 from Santiago1010/84-migrate-from-momentjs-to-…
Santiago1010 Oct 25, 2025
c4114bb
feat(auth): add refresh token endpoint
Santiago1010 Oct 25, 2025
fdf4123
feat(auth): implement refresh token functionality
Santiago1010 Oct 25, 2025
777baee
feat(i18n): add email template internationalization
Santiago1010 Oct 25, 2025
43e33a6
feat(security): add unknown device alert email system
Santiago1010 Oct 25, 2025
2580d32
feat(security): implement secure device verification system
Santiago1010 Oct 25, 2025
3139078
feat(auth): add device confirmation service
Santiago1010 Oct 25, 2025
dcd1f9b
feat(security): enhance device confirmation with trust and block options
Santiago1010 Oct 25, 2025
0cb0118
feat(auth): implement device verification endpoint
Santiago1010 Oct 25, 2025
22c7c7d
fix(auth): improve session and confirmation flows
Santiago1010 Oct 25, 2025
4ef90c5
refactor(services): restructure service directory organization
Santiago1010 Nov 8, 2025
d641fb5
feat(auth): create password service and optimize confirmation queries
Santiago1010 Nov 10, 2025
2db76e6
feat(auth): implement password recovery functionality
Santiago1010 Nov 10, 2025
6461a41
feat(emails): add password reset and change notification templates
Santiago1010 Nov 10, 2025
c6401e4
fix(auth): correct password service integration and add API documenta…
Santiago1010 Nov 10, 2025
72438c8
docs(auth): add recover password endpoint documentation
Santiago1010 Nov 10, 2025
615eac5
docs(auth): add recover password endpoint documentation
Santiago1010 Nov 11, 2025
967ecd6
feat(auth): complete password recovery implementation
Santiago1010 Nov 11, 2025
7bf6043
docs(auth): add OpenAPI documentation for device verification endpoint
Santiago1010 Nov 14, 2025
6e13240
chore(gitignore): add scripts/private directory to ignored files
Santiago1010 Nov 14, 2025
b5eac2d
feat(sms): add Twilio SMS service for OTP login
Santiago1010 Nov 14, 2025
f4679e4
refactor(structure): reorganize services and add auth documentation
Santiago1010 Nov 14, 2025
85bcbca
feat(sms): enhance OTP service with generation and i18n support
Santiago1010 Nov 14, 2025
55981c3
feat(auth): implement two-factor authentication with OTP
Santiago1010 Nov 15, 2025
3ce1b34
feat(auth): add OTP verification endpoint and improve i18n
Santiago1010 Nov 15, 2025
38f1c26
refactor(auth): simplify temp session key structure and update i18n
Santiago1010 Nov 15, 2025
28ec3d6
feat(users): add comprehensive account service and update user relati…
Santiago1010 Nov 15, 2025
ef70974
feat(users): enhance account service with geographic models and phone…
Santiago1010 Nov 15, 2025
f51dfd2
feat(auth): add change password functionality
Santiago1010 Nov 15, 2025
9a309c2
docs(auth): add OpenAPI documentation for change password endpoint
Santiago1010 Nov 15, 2025
379984b
docs(auth): add comprehensive OpenAPI documentation for auth endpoints
Santiago1010 Nov 15, 2025
b65a16c
docs(auth): add OTP verification endpoints to OpenAPI documentation
Santiago1010 Nov 15, 2025
31f62a3
refactor(docs): reorganize auth endpoints by logical grouping
Santiago1010 Nov 15, 2025
98258ae
chore(validations): create auth validation index and placeholder files
Santiago1010 Nov 15, 2025
15cedab
refactor(auth): modularize routes by feature and reorganize validations
Santiago1010 Nov 15, 2025
555bd4e
feat(session): add session revocation functionality and update i18n
Santiago1010 Nov 15, 2025
3bb4e79
feat(auth): add session revocation functionality
Santiago1010 Nov 30, 2025
ec5896e
feat(auth): add session listing functionality
Santiago1010 Nov 30, 2025
23e385a
feat(auth): add revoke all sessions except current functionality
Santiago1010 Nov 30, 2025
a090a5f
feat(db): add geographical seed data for continents, regions, and cou…
Santiago1010 Jan 17, 2026
873d860
feat(auth): add two-factor authentication disable functionality
Santiago1010 Jan 21, 2026
73cf34f
docs(auth): add disable 2FA endpoint diagrams and update routes
Santiago1010 Jan 21, 2026
083d9b1
feat(auth): implement comprehensive two-factor authentication service
Santiago1010 Jan 23, 2026
7f16d7b
feat(auth): add comprehensive two-factor authentication endpoints
Santiago1010 Jan 23, 2026
006777d
feat(auth): complete two-factor authentication implementation
Santiago1010 Jan 23, 2026
d52a6cb
docs(api): add device management and update 2FA OpenAPI documentation
Santiago1010 Jan 23, 2026
c85c2ed
refactor(auth): extract device controller logic from confirmation con…
Santiago1010 Jan 23, 2026
a6223b3
feat(auth): add device management update functionality
Santiago1010 Jan 23, 2026
4644334
ci: implement comprehensive code quality and security workflow
Santiago1010 Jan 23, 2026
e439a0e
ci: simplify biome command in lint-staged configuration
Santiago1010 Jan 23, 2026
779d68c
ci: refactor and improve code quality workflow
Santiago1010 Jan 23, 2026
54d056b
chore: remove code quality CI workflow and debug file
Santiago1010 Jan 23, 2026
bccebe4
chore: auto-update version and changelog [skip ci]
actions-user Jan 23, 2026
8578faf
Resolve
Santiago1010 Jan 23, 2026
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
  •  
  •  
  •  
35 changes: 35 additions & 0 deletions .claude/system_prompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
### **Project Context**

You're a specialized AI assistant named Claude, designed to assist with the **node-template** project. Your primary role is to provide accurate, context-aware, and high-quality responses based on the user's requests.

#### **Core Principles**

- **Language:** Respond in the same language as the user's prompt.
- **Code:** All code must be in **English**, regardless of the language used for explanations.
- **Coding Standards:** All code provided must adhere to the rules specified in `./biome.json`.
- **Project Structure:** To understand the file and folder organization, you can consult `./context/structure.txt`.

#### **README.md Management**

- When a user asks to update a `README.md` file within a specific folder or sub-folder, you must update both that file and the main project `./README.md`.
- When a user requests creating a `README.md` for a specific directory, **only analyze the files within that directory**. Ignore any sub-directories unless the user explicitly requests you to analyze them as well.

#### **Project Details**

The project is a robust **Node.js, Express, and Sequelize API REST template**. It utilizes **MySQL/MariaDB**, **Redis**, and **Docker**.

- **Dependencies:**
- **`dependencies`:** Core libraries for the application, including Express, Sequelize, Redis, `@hapi/boom`, `bcrypt`, `jsonwebtoken`, `winston`, and more.
- **`devDependencies`:** Tools for development and testing, such as `@biomejs/biome`, `jest`, `husky`, and `commitlint`.
- **Key Scripts:**
- `npm run dev`: Starts the application with `nodemon` for file watching.
- `npm run format:write`: Formats all code according to Biome rules.
- `npm run lint:fix`: Lints and fixes code issues.
- `npm test`: Runs all tests.
- `npm run models:generate`: A custom script for creating database models.

#### **Claude Code Integration**

- Always consider the current working directory and project structure when making suggestions.
- When creating or modifying files, ensure they follow the established project patterns and conventions.
- Provide clear explanations for code changes and their impact on the overall project architecture.
1 change: 0 additions & 1 deletion .debug

This file was deleted.

162 changes: 162 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
# Git files
.git
.gitignore
.gitattributes

# Documentation and metadata
README.md
CHANGELOG
LICENSE
*.md
structure.txt

# Development tools and configs
.vscode/
.idea/
*.sublime-*
.editorconfig
biome.json

# Environment and secrets
.env*
.secrets
*.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
.npm
.yarn/
.pnp.*
coverage/
.nyc_output/
.eslintcache
.stylelintcache

# Build artifacts and cache
dist/
build/
out/
.next/
.nuxt/
.cache/
.parcel-cache/
.rpt2_cache/
.rts2_cache_*/
*.tsbuildinfo

# Logs (excluding specific service logs)
logs/
*.log
!controllers/logs/
!models/logs/
!routes/logs/
!services/logs/

# Testing
coverage/
.nyc_output/
test-results/
playwright-report/

# OS files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
Desktop.ini
$RECYCLE.BIN/
.directory
.fuse_hidden*
.nfs*

# Media files
*.jpg
*.jpeg
*.png
*.gif
*.svg
*.ico
*.webp
*.tiff
*.bmp
*.mp3
*.mp4
*.avi
*.mov
*.wmv
*.flv
*.wav
*.ogg
*.flac
*.pdf

# Archives and binaries
*.zip
*.tar
*.tar.gz
*.rar
*.7z
*.exe
*.msi
*.deb
*.rpm

# Docker files (for multi-stage builds)
Dockerfile*
docker-compose*.yml
.dockerignore

# Kubernetes files
kubernetes/
k8s/
*.yaml
*.yml
!package.json

# Development databases
*.sqlite
*.db

# Temporary files
*.tmp
*.temp
*.swp
*.swo
*~
.tmp/
tmp/

# Project specific exclusions
sync_models/
kubernetes/keys/
0.Project_info/

# IDE and editor files
*.sublime-workspace
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# Windows
*.lnk
*.stackdump

# macOS
*.icloud

# Linux
*~
112 changes: 112 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# =============================================================================
# ENVIRONMENT CONFIGURATION
# =============================================================================
NODE_ENV=local
PORT=8080
BASE_URL=http://localhost:8080
PROJECT_NAME=node-template

# Internationalization
DEFAULT_TIME_ZONE_NAME=America/Bogota
DEFAULT_TIME_ZONE_UTC=-05:00
DEFAULT_LANG=es

# =============================================================================
# DATABASE CONFIGURATION
# =============================================================================
DB_DIALECT=mysql
DB_SSL=false

# Read Replica
DB_READ_HOST=localhost
DB_READ_PORT=3306

# =============================================================================
# CACHE & SESSION STORAGE
# =============================================================================
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_HOST_LOCAL=localhost

# =============================================================================
# AUTHENTICATION & SECURITY
# =============================================================================
DEFAULT_PASSWORD_LENGTH=8

# JWT
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRATION_TIME=900000
JWT_REFRESH_TOKEN_EXPIRATION_TIME=604800000

RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100

# =============================================================================
# CLOUD STORAGE & LOCALSTACK
# =============================================================================
AWS_REGION=us-east-1
AWS_S3_BUCKET=localstack-bucket
AWS_ENDPOINT_URL=http://localstack:4566
GOOGLE_CLOUD_PROJECT_ID=your_gcp_project_id
GOOGLE_CLOUD_STORAGE_BUCKET=your_gcs_bucket_name
AZURE_STORAGE_CONTAINER=your_container_name

# =============================================================================
# DEVELOPMENT & TESTING
# =============================================================================
DEBUG=true
LOG_LEVEL=debug
FAKER_LOCALE=es
FAKER_SEED=12345

# =============================================================================
# CORS & SECURITY HEADERS
# =============================================================================
CORS_ORIGIN=http://localhost:3000,http://localhost:3001
CORS_METHODS=GET,POST,PUT,DELETE,OPTIONS
CORS_ALLOWED_HEADERS=Content-Type,Authorization,X-Requested-With

CSP_DEFAULT_SRC='self'
CSP_SCRIPT_SRC='self' 'unsafe-inline'
CSP_STYLE_SRC='self' 'unsafe-inline'

# App config
BOLA_STRICT_MODE=true
CSRF_ENABLED=true
CSRF_STRICT_MODE=true

MAX_FILE_SIZE_MB=10
MAX_FILES_PER_REQUEST=5

SECURITY_AUDIT_ENABLED=true
ANOMALY_DETECTION_ENABLED=true

# =============================================================================
# SMTP / EMAIL CONFIGURATION
# =============================================================================
# Name of the SMTP provider or service (e.g. Mailhog, Gmail, SES, etc.)
SMTP_SERVICE=MailHog

# SMTP Host β€” points to the Mailhog container locally
SMTP_HOST=localhost
# SMTP Port β€” 1025 for Mailhog, 587 or 465 for real servers
SMTP_PORT=1025

# Whether the server uses TLS/SSL (false for Mailhog)
SMTP_SECURE=false

# Default "from" address for outgoing emails
MAIL_DEFAULT_FROM="[email protected]"

# Support or general contact address
MAIL_SUPPORT_ADDRESS="[email protected]"

# Advanced configuration (Optional TLS)
SMTP_TLS_REJECT_UNAUTHORIZED=false

# =============================================================================
# VAULT CONFIGURATION
# =============================================================================
VAULT_ADDR=http://localhost:8200
VAULT_TOKEN=dev-only-token
Loading