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_GetByUsername.sql
Normal file
10
Backend/Sql/sp_User_GetByUsername.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE OR ALTER PROCEDURE sp_User_GetByUsername
|
||||
@Username NVARCHAR(50)
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
|
||||
SELECT Id, Username, PasswordHash, Email, NombreCompleto, FechaCreacion
|
||||
FROM Users
|
||||
WHERE Username = @Username;
|
||||
END
|
||||
Reference in New Issue
Block a user