-
Notifications
You must be signed in to change notification settings - Fork 2
Develop #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Develop #45
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature/models
…base with Sequelize sync
refactor(project): move backend folders into src and setup MySQL data…
…and password hashing
Feature/controllers
Feature/routes
Replace public class fields with declare keyword in User and Article models to avoid shadowing Sequelize's attribute getters and setters.
Feature/routes
feat: implement JWT authentication and authorization
- Implement User model with Sequelize (username, email, password, role, etc.) - Add register and login controllers with password hashing (bcrypt) and email normalization - Integrate JWT token generation and verification utilities - Create validation middlewares (express-validator) for register and login - Add auth middleware to protect routes and role-based access control - Update auth routes with validation and controllers
- Add validation to prevent duplicate usernames on registration - Update password validator to require at least 8 characters
Feature/user validators
…abisal-server into feature/ArticleValidators
Feature/article validators
Applied the middleware to the endpoint. This change ensures that only users with administrative privileges can create new articles, enhancing the application's access control.
feat(articles): Restrict article creation to admin role
fix: reorder router
Feature/docker
feat(articles): add like and unlike functionality
…ualizar .env.example
Sync field names (user_id, article_id) and ensure compatibility with Sequelize and relationships.
…CI a Docker Hub) • Conexión MySQL con TLS opcional (DB_SSL, DB_PORT=4000, DB_SSL_CA_PATH) para TiDB Cloud. • Compose usa imagen de Docker Hub (gema284/codigo-abisal-server-api:dev) y monta CA. • Columna 'likes' en Article (DEFAULT 0); tipado ajustado y creación segura. • DB_AUTO_ALTER: true solo en local, false en nube (no toca esquema en prod). • .env.example actualizado; .gitignore ignora .env*, certs/*.pem y *.sql. • (CI) Workflow para build & push de imagen a Docker Hub al push/PR en develop/main.
Feature/docker
Feature/endpoints dashboard
…ckerfile configuration
Feature/docker
update docker-compose
mcarenashd
approved these changes
Oct 16, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version estable en develop