0.0.13 • Published 8 months ago
@outs1x2/calc v0.0.13
Calc Framework
Calc is a lightweight TypeScript framework designed to simplify the development of applications using a modular architecture. It incorporates a simple dependency injection system, allowing for easy management of services and processables without the need for repetitive imports.
Features
- Dependency Injection: Easily manage service instantiation with a simple DI container.
- Modular Structure: Organized into core components, models, services, and processables for better maintainability.
- Base Classes: Provides base classes for services and processables to streamline CRUD operations and processing logic.
- Type Safety: Utilizes TypeScript for type safety and consistency across the application.
Project Structure
calc-framework
├── src
│ ├── core
│ │ ├── di
│ │ │ ├── container.ts
│ │ │ ├── decorators.ts
│ │ │ └── index.ts
│ │ ├── base
│ │ │ ├── service.base.ts
│ │ │ └── processable.base.ts
│ │ └── types
│ │ └── index.ts
│ ├── models
│ │ └── group.model.ts
│ ├── services
│ │ └── groups.service.ts
│ ├── processables
│ │ └── group.processable.ts
│ ├── utils
│ │ ├── crud
│ │ │ ├── service.ts
│ │ │ └── index.ts
│ │ └── tools
│ │ └── index.ts
│ ├── app.ts
│ └── index.ts
├── package.json
├── tsconfig.json
└── README.mdGetting Started
Installation: Clone the repository and install dependencies using npm.
npm installRunning the Application: Start the application using the following command.
npm startCreating Services and Processables: Extend the base service and processable classes to create your own business logic.
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue for any enhancements or bugs.
License
This project is licensed under the MIT License. See the LICENSE file for more details.