static async create(app,database,config) {
        let api = new DynamicApi(app,database,config);
        if (api !== false) {
            console.log(`Trying to find and assign ExpressJs routes...`);
            api.dynamicControllers = await DynamicControllers.create(api.database);
            if (api.dynamicControllers instanceof DynamicControllers) {
                api.dynamicRoutes = await DynamicRoutes.create(api);
                if (api.dynamicRoutes instanceof DynamicRoutes) {
                    api.toLog()
                    utils.logdebug(`Finish to build API REST.\n`);
                    return api;
                }
            }
        }
        return null;
    }
/**
     * Creates DynamicApi object, generate routes and controllers from database schema
     * Logs to console all routes
     * @param {Express()} app express created application (not running)
     * @param {Database} database build object 
     * @param {Object} config (optional) server config
     * @returns {DynamicApi}
     */
Creates DynamicApi object, generate routes and controllers from database schema
Logs to console all routes
@param {Express()} app express created application (not running)
@param {Database} database build object
@param {Object} config (optional) server config
@returns {DynamicApi}
Creates DynamicApi object generate routes and controllers from database schema Logs to console all routes @param { Express () } app express created application ( not running ) @param { Database } database build object @param { Object } config ( optional ) server config @returns { DynamicApi }
static async create(app,database,config) {
        let api = new DynamicApi(app,database,config);
        if (api !== false) {
            console.log(`Trying to find and assign ExpressJs routes...`);
            api.dynamicControllers = await DynamicControllers.create(api.database);
            if (api.dynamicControllers instanceof DynamicControllers) {
                api.dynamicRoutes = await DynamicRoutes.create(api);
                if (api.dynamicRoutes instanceof DynamicRoutes) {
                    api.toLog()
                    utils.logdebug(`Finish to build API REST.\n`);
                    return api;
                }
            }
        }
        return null;
    }
static async create ( app , database , config ) { let api = new DynamicApi ( app , database , config ) ; if ( api !== false ) { console . log ( ` ` ) ; api . dynamicControllers = await DynamicControllers . create ( api . database ) ; if ( api . dynamicControllers instanceof DynamicControllers ) { api . dynamicRoutes = await DynamicRoutes . create ( api ) ; if ( api . dynamicRoutes instanceof DynamicRoutes ) { api . toLog ( ) utils . logdebug ( ` \n ` ) ; return api ; } } } return null ; }
Creates DynamicApi object, generate routes and controllers from database schema
 Logs to console all routes
 @param {Express()} app express created application (not running)
 @param {Database} database build object
 @param {Object} config (optional) server config
 @returns {DynamicApi}
Creates DynamicApi object generate routes and controllers from database schema Logs to console all routes @param { Express () } app express created application ( not running ) @param { Database } database build object @param { Object } config ( optional ) server config @returns { DynamicApi }