- 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.
34 lines
1.3 KiB
Markdown
34 lines
1.3 KiB
Markdown
# MassEmailReact
|
|
|
|
Mass Email React Website
|
|
|
|
to clone: in command prompt, go to the directory you want to clone the project to, then type:
|
|
|
|
git clone --branch main https://<your_username_here>@git.surge365.com/Surge365/MassEmailReact.git
|
|
|
|
## TO DO IF YOU WANT TO BUILD THIS PROJECT
|
|
|
|
1. Install node.js v22.13.1
|
|
2. Recommended to install nvm for Windows, then in command prompt, type:
|
|
nvm install 22.13.1
|
|
3. Then type:
|
|
nvm use 22.13.1
|
|
4. Then to verify, type:
|
|
node -v # Should return v22.13.1
|
|
5. Then to verify npm, type:
|
|
npm -v # Should return a version
|
|
|
|
## Project Structure
|
|
|
|
This project consists of multiple layers to ensure separation of concerns and maintainability.
|
|
|
|
### Project Descriptions and Dependency Order
|
|
|
|
1. **Surge365.MassEmailReact.Domain** - Contains core business logic and domain entities.
|
|
2. **Surge365.MassEmailReact.Application** - Handles application logic and use cases. Depends on `Domain`.
|
|
3. **Surge365.MassEmailReact.Infrastructure** - Provides data access, external integrations, and persistence. Depends on `Application` and `Domain`.
|
|
4. **Surge365.MassEmailReact.API** - The API layer that serves endpoints. Depends on `Application`.
|
|
5. **Surge365.MassEmailReact.Web** - The front-end application. Communicates with `API`.
|
|
6. **Surge365.MassEmailReact.UnitTests** - Contains unit tests for various layers of the application.
|
|
|