https://github.com/zufichris/web-cms-backend
https://github.com/zufichris/web-cms-backend
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zufichris/web-cms-backend
- Owner: zufichris
- License: mit
- Created: 2025-04-03T06:31:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-30T15:08:37.000Z (about 1 year ago)
- Last Synced: 2025-05-30T21:21:22.588Z (about 1 year ago)
- Language: TypeScript
- Size: 385 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CMS
# Modules
This directory contains the individual modules that make up the application's features. Each module is self-contained and follows a consistent structure to ensure maintainability and scalability.
## Structure
Each module is organized into the following subdirectories:
- **`data`**: Contains entities, Data Transfer Objects (DTOs), and Object-Relational Mapping (ORM) related code.
- **`domain`**: Contains the business logic, including repository interfaces and use cases.
- **`http`**: Contains the presentation layer, including controllers and routes.
## Creating a New Module
To create a new module, use the provided script to generate the boilerplate structure. For example:
```bash
npm run generate:module user
```