1.0.0-beta.4 • Published 5 months ago

@zanix/server-core v1.0.0-beta.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@zanix/server-core

npm version License: MIT npm downloads

PayPal

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 context
  • Adapters: Container for managing adapters
  • Controllers: Container for managing controllers
  • Middlewares: Container for managing middlewares
  • Resolvers: Container for managing resolvers
  • Services: Container for managing services
  • Jobs: Container for managing jobs
  • Subscribers: Container for managing subscribers
  • Interactors: Container for managing interactors
  • routers: Different routers for REST, GraphQL, and internal communication
  • events: 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 ✨