@zanix/server-core
v2.1.3
Published
ZanixJS Framework APP Server Core
Downloads
504
Readme
@zanix/server-core
Table of Contents
Introduction
@zanix/server-core
is the core API server module of the ZanixJS Framework. It provides essential functionalities and modules for building powerful and scalable Node.js applications.
Installation
To install @zanix/server-core
in your project, use the following command:
npm install @zanix/server-core
Usage
The App
instance from @zanix/server-core
provides various modules and containers essential for your application's functionality. Below are some key components available within the App
instance:
Data
: Default database module (DefaultDB
)Auth
: Default authentication module (DefaultAuth
)Context
: Container for managing contextAdapters
: Container for managing adaptersControllers
: Container for managing controllersMiddlewares
: Container for managing middlewaresResolvers
: Container for managing resolversServices
: Container for managing servicesJobs
: Container for managing jobsSubscribers
: Container for managing subscribersInteractors
: Container for managing interactorsrouters
: Different routers for REST, GraphQL, and internal communicationevents
: Emitter for handling events (emit
,subscribe
,reset
)
The logger
instance from @zanix/logger
is also available for logging purposes within your application.
Support and Contributions
If you encounter any issues or have suggestions for improvements, please submit them in the issue tracker.
Contributions to enhance the functionality or resolve issues are welcomed via pull requests. Ensure adherence to code standards and include appropriate test coverage.
License
This module is open-source and released under the MIT License. You are free to modify and distribute it as per the terms of the license.
Authors ✨
- Ismael Calle Marulanda @iscam2216