@creatioart-js/express-core v1.4.0
CreatioART: Express Core
CreatioART - Core library package for Express framework it is a Node JS package that contains good practices and reusable base common components. This package can be applied to any web component such as:
- NodeJS Enviroments
 - Serverless Engine
 - Kubernate Engine
 - Node Express Server
 
Getting Started
- Quickstart
 - Artifact
 - Requirements
 - Project organization
 - CLI
 - Building from Source
 - Test the Artifact
 - Documentation
 - CreatioART libraries
 - License
 - Change Log
 
Quickstart
Installing the library
npm install @creatioart-js/express-coreWays to use
A quick start guide is available.
Templates for use
Service templates are public. README.md file for each template contains instructions for running it.
| Source Code | Status | 
|---|---|
| Express Service | |
| Express Function | |
| GrapHQL Servicen | 
Artifact
| Element | Description | 
|---|---|
| Artifact id | @creatioart-js/express-core | 
| Artifact Name | express-core | 
Requirements
To build and run the application you need:
- Node.js 20
 - Projects must configure TypeScript to use types from the ECMAScript modules that have a:
compilerOptions.allowJsshould betrue.compilerOptions.moduleshould be"node16"or"nodenext".
 
Project organization
The code is organized as follows:
decoratorcontains the class decorators.dtocontains the data transfer object.entitycontains the persistence domains.enumcontains the enumerations that set the domain values.errorcontains the error domain values.filtercontains the filtering classes.helpercontains functionality necessary for general operation.ordercontains the ordering classes.servicecontains the interfaces and implementations that define the functionality provided by the service.validationcontains the domain validation classes.
CLI
This package includes a CLI for compilate locales.
Usage
locale-compiler [options]Options:
-s,--source: Source folder for locales.-t,--target: Target folder for locales.
Building from Source
- Install Node.js 20 - Node.js 20 Download
 - Install dependencies: npm install
 - Run compile: npm run build
 
Test the Artifact
- Install Node.js 20 - Node.js 20 Download
 - Install dependencies: npm install
 - Run test: npm run test
 
Documentation
Document Reference: Docs TypeDocs
CreatioART libraries
Complementary libraries available from CreatioART:
Made with ❤️ by the CreatioART team.
Contribute
If you are interested in fixing issues and contributing directly to the code, please contact to the project manager. Here is how you can contribute to CreatioART.express-core:
- Submit bugs and help us verify fixes
 - Submit pull requests for bug fixes and features and discuss existing proposals