feat: Sistema de Usuarios - Backend CRUD + JWT Auth (Issue #1)
Implementación fundacional del proyecto PruebaGentle: - Arquitectura Clean/Hexagonal: Core, Infrastructure, API - 6 Stored Procedures para CRUD + autenticación - JWT authentication con BCrypt password hashing - Docker Compose (SQL Server + Backend) - Solución .NET 10 con Dapper + SqlClient Closes #1
This commit is contained in:
10
Backend/Sql/sp_User_GetById.sql
Normal file
10
Backend/Sql/sp_User_GetById.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE OR ALTER PROCEDURE sp_User_GetById
|
||||
@Id INT
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
|
||||
SELECT Id, Username, Email, NombreCompleto, FechaCreacion
|
||||
FROM Users
|
||||
WHERE Id = @Id;
|
||||
END
|
||||
Reference in New Issue
Block a user