Web IDE for angular based bfast-ui project
Clone repository from github then run npm run start
from project
directory after you install all dependencies npm install
.
Make sure you have bfast-tools for development.
Install project from npm npm install bfast-ui-ng
Create .js
file anywhere and add the following codes
const BFastUiAngular = require("bfast-ui-ng");
new BFastUiAngular().init().then(value => {
return value.ide.start();
}).then(reason => {
console.log('start successful');
}).catch(reason => {
console.log(reason);
})
Main class for initiate IDE instance
Following are the public methods
Initiate a bfast ui angular ide
-
Parameters - null
-
Return
Promise<{ide: BfastFunctions, port: number}>
From bfast-functions
package to start a bfast functions engine.
Start bfast engine
-
Parameters - null
-
Return
Promise<Server> NOTE : Server is node-js Server object
Stop bfast engine
-
Parameters - null
-
Return
Promise<void>