webstack-cli v0.0.28
Getwebstack
Getwebstack offers a quick way to build a full-stack application and deploy it locally and in the cloud, with the help of prebuilt, cloud native, micro-apps. We promote breaking the monolith architecture into composable and reusable modules from the beginning, starting from well-defined business areas.
Documentation
You can find detailed use of Getwebstack CLI on the documentation page.
Support
For any issue you can contact us on Discord.
Quick start
Getwebstack offers a cli, webstack-cli, through which you can build and manage your app.
1. Prerequisites
webstack-cli is build using NodeJs. Please install node and npm. You can install from here.
2. Install webstack-cli
Install the cli.
npm install -g webstack-cli
3. Login
In order to have access to the features of the CLI, you must first log in.
webstack-cli login
3. Create a new project
Now you can create your first project.
webstack-cli project init --name cool-project
4. Add a landing-page
We will use a prebuilt frontend component based on Angular from our library of micro-frontends.
You will need to mention what is the route where the component will be accessible from, as well as associating a local domain. In this example we will route all the traffic to the landing page.
webstack-cli component add --name landing --template angular
? Route path: /(.*)
? Local host: local-project.com
You can check all the available components here.
5. Start your app locally
This will start a local cluster and deploy the project.
webstack-cli cluster start
:::info
The components have live reloading enabled. If you change something in the code of the component, the changes will automatically apply.
:::
6. Check deployment status
While the project is initialised you can check the status
of deployment for the landing
component.
webstack-cli component status landing
7. Check logs
In addition to the status, you can also check the logs in the component to get more details.
webstack-cli component logs landing
8 Test the app
Once the setup of the component is complete you can test it in your browser.
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago