10 Commits

Author SHA1 Message Date
b3f266f9a8 Enhance authentication features and refactor codebase
Updated `AuthenticationController` with new methods for authentication, token refresh, and password recovery. Improved error handling and response structure.

Refactored dependency injection in `Program.cs` and added JWT settings in `appsettings.json`. Removed unused `Class1.cs` files.

Introduced new DTOs for authentication requests and updated `IAuthService` and `IUserRepository` interfaces. Enhanced `User` class and added `AuthResult` enum for standardized responses.

Expanded `DataAccess` for better database operations and updated `UserRepository` and `AuthService` to implement new authentication logic.

Front-end changes include renaming variables for consistency and updating the `ForgotPasswordModal` and `Login.tsx` components to use usernames instead of email addresses.

Updated API proxy path in `vite.config.ts` and ensured proper typing for `API_BASE_URL` in global TypeScript definitions.
2025-02-22 18:45:37 -06:00
88bcac382c Refactor project structure and update dependencies
- Updated project setup to use Vite for React application.
- Removed unnecessary files and simplified configurations.
- Enhanced authentication and routing in the application.
- Improved code quality with ESLint and updated styles.
- Added new components for better user experience, including a password recovery modal.
- Updated documentation for clearer setup instructions.
2025-02-20 09:55:56 -06:00
dfb721c2f8 Update project dependencies and structure
Revised the dependency order in the project structure.
The `Surge365.MassEmailReact.API` now depends on both
`Application` and `Infrastructure`. Removed the reference
to `Infrastructure` in `Surge365.MassEmailReact.Application.csproj`.
Updated `Surge365.MassEmailReact.Infrastructure.csproj` to
include references to both `Application` and `Domain`.
Modified `Surge365.MassEmailReact.API.csproj` to include
a reference to `Surge365.MassEmailReact.Infrastructure`.
2025-02-20 09:21:22 -06:00
f8df86f1b4 Refactor project structure and remove deprecated features
- Updated README.md to include "Project Structure" section.
- Removed WeatherForecastController.cs and WeatherForecast.cs.
- Simplified Surge365.MassEmailReact.Server.csproj.
- Updated solution file to reflect new project references.
- Refactored jquery.ss.dbmanager-1.0.js and jquery.usahaulers.global.js.
- Modified logging functionalities in jquery.usahaulers.logging-1.0.js.
- Set up constants from environment variables in constants.js and constants.ts.
- Introduced new classes in Surge365.MassEmailReact.Application, Domain, and Infrastructure.
- Added UnitTest1.cs for basic unit testing structure.
- Enhanced Surge365.MassEmailReact.Web.esproj with new configurations.
- Expanded utility functions in ytb-massemail-.global.ts and ytb-massemail-utilities-1.0.ts.
2025-02-20 08:09:21 -06:00
2fa7b500b9 Signed-off-by: David Headrick <david@headrickconsulting.com> 2025-02-19 18:58:12 -06:00
45c8eb4095 Update README with setup and cloning instructions
Added detailed instructions for cloning the project and setting up the development environment, including commands for Git, Node.js installation via nvm for Windows, and verification steps for Node.js and npm versions.
2025-02-19 18:46:01 -06:00
cf9c98c18c added launch.json 2025-02-19 18:06:09 -06:00
488d7cbf90 Signed-off-by: David Headrick <david@headrickconsulting.com> 2025-02-19 16:40:46 -06:00
fe1af7df2b Initial Commit
Signed-off-by: David Headrick <david@headrickconsulting.com>
2025-02-17 12:00:42 -06:00
3f88e8f60a Initial commit 2025-02-17 10:41:28 -06:00