Platform or Development Process
Can I use the development, staging, production environment, etc.?
A. The development, staging, and production environment are provided in the same domain. Prepare and use multiple workspaces, depending on your needs.
How do you deploy applications between development, staging, and production environments?
A. Hexabase allows you to save your application as a template. Deploy the application by deploying this template to the development, staging, and production environment workspaces.
Can the database be shared between the development environment, staging environment, production environment, etc.?
A. It depends on how the database is created. For example, it is possible to share the database in a workspace while separating the applications according to their purpose.
What kind of configuration should I use to build a development environment with Hexabase?
A. For Hexabase, it is recommended to develop the frontend application in a local environment. For the backend, use the development environment workspace on the Hexabase side.
At that time, specify the host name to access the API in a local configuration file, etc., and access the Hexabase backend with the API from the local environment to proceed with development.
What can I use the admin panel for?
A. There are two main uses for the administration panel
- Workspace settings and application development
- Operational management of users and data
How do I use the administration panel and the CLI tool?
A. Basic operations are performed on the administration panel. The CLI tool is used for application construction, data migration, etc.
How is multi-tenancy achieved?
A. There are several methods to accomplish this.
The first method uses group roles to separate access to one workspace and one application. For example, create a group for each customer. This way, you can update one application and apply the changes to all users.
The second method is to use a workspace. Separate access by providing workspaces for each customer. This method incurs a usage fee for each workspace.
The third method deploys multiple applications in a single workspace. You can isolate tenants by assigning customers to each application.
If I create an application for each customer, how do I update all applications?
A. Currently, you must copy application templates or change settings for each application.
When implementing multi-tenancy, is there a way to check if the settings are common across multiple environments?
A. The CLI tool has the ability to export application settings in JSON format. By comparing JSON files exported by multiple applications, you can check whether the settings are the same.
- hexabase-cli - npm hx projects:settings:download_all
Please tell me how to actually utilize the workspace?
A. One workspace has one organization tree (group tree) and users associated with it. Therefore, for example, if you want to provide completely different systems to completely different companies, or, in other words, you want to completely separate user management, you can separate workspaces.
On the other hand, inside the workspace, in addition to the overall users, organizations, and roles, you can set users, roles, etc. for each application. ``In cases where the same company (same organization and user management) wants to provide multiple different systems, separate applications are used.
As an example, an application such as an HR system or an estimation system can be built under a single workspace, and the usage rights for each system can be set (e.g., the HR system can only be used by the HR department).
Hexabase is designed to be a very versatile backend system, so there are many applications for setting permissions within workspaces, applications, and databases, depending on your use case.
Since it is important to have a basic design that meets your objectives, we can set up a design review meeting at the beginning of the design process.
What features are enabled when I turn on "Use developer features" in "User Profile Settings" > "Personal Settings"?
A. The display item ID will be displayed.