@superdevofficial/feathers-galaxy-core
v1.3.20
Published
This is the basis for making several micro-services work in a network via Redis. It also provides access to several helpers and polyfills to help with FeathersJS application development.
Readme

Presentations
This is the basis for making several micro-services work in a network via Redis. It also provides access to several helpers and polyfills to help with FeathersJS application development.
Content
- FeathersGalaxyCore : Access the services of other micro-services in the network and manages authentication
- FeathersSeeding : Allow to seed your application or redis network with default data
- MongoAggregateService : Create a MongoDB service that will manage aggregates
- Adds a selection of polyfills and methods to simplify development
Requirements
- FeathersJS
^3.3.1 - NodeJS
^10.15.1
Development
Code, compile with tsc, and npm publish
Installation [Obsolete]
Installation is done via npm :
npm i @superdevofficial/feathers-galaxy-core
How to use
1. FeathersGalaxyCore
You need to configure it in your app.ts
let options: IPartialFeathersGalaxyCoreOptions = {};
app.configure(FeathersGalaxyCore.configure(options));You can manage the galaxy core with this options :
{
healthy: {
setHealthyRoute: true,
route: '/health'
},
file: {
multer: true,
sizeLimits: 4 * 1024 * 1024,
extAllowed: 'all'
},
authenticate: {
verifyRoute: '/verify',
route: '/authentication',
service: 'authentication',
before: null,
after: null,
setAuthRoute: false,
setVerifyRoute: false,
disableHook: false,
},
distribution: {
service: 'auth/applications',
shutdownIfNoApplicationId: false,
retrieveApplicationId: false,
services: null,
cote: {
helloInterval: 2000,
checkInterval: 4000,
nodeTimeout: 5000,
masterTimeout: 6000,
monitor: false,
log: false,
helloLogsEnabled: false,
statusLogsEnabled: false,
ignoreProcess: false,
stopDispatchRemoteServices: true
}
},
prefix: {
retrievedId: 'retrievedId',
applicationId: '$applicationId',
applicationIdSubject: '$applicationIdSubject',
},
texts: {
initGalaxy: 'Initialize the galaxy',
waiting: 'Waiting for the application Id',
waiting2: 'Waiting for the space unicorn',
founded: 'Application id founded !',
serviceNotFound: 'The service provided isn\'t distributed',
slugDoesntExist: 'Application slug doesn\'t exist',
galaxyNotInit: 'The galaxy isn\'t initialized wet',
allGoodGalaxy: 'Galaxy initialized'
},
timeout: {
interval: 1000,
times: 30
}
}