Package Structure

What's a package in Reldens?

A package must contain an specific structure and have some specific definitions which are used to know if the package is enabled or not, if it has implementations for the server side, the client or both. This way in a single package you can have a complete feature.

A normal package folder will look like this:

/[package-name]/ > where you can also drop shared files for both server and client (like constants)
/[package-name]/server > folder where you will have all your server logic
/[package-name]/server/pack.js > server configuration file to initialize the package server logic
/[package-name]/client
/[package-name]/client/pack.js > client configuration file to initialize the package server logic

For example: the inventory package.