This project aims to simplify the process of creating Appsmith apps via JS/TS code. With this tool, you can quickly create complex Appsmith applications using code, saving time and effort in the development process.
Appsmith CDK is a utility that allows you to define your Appsmith app's structure and configuration in code, rather than using the drag-and-drop interface of the Appsmith UI. This approach enables developers to manage their app's codebase more efficiently, version control it, and easily share it with others. The code generator leverages a set of predefined templates to generate the necessary Appsmith JSON configuration files, which can be imported directly into the Appsmith UI. By describing your app's pages, widgets, actions, and interactions in code, you can create and modify complex applications programmatically.
- Generate Appsmith apps using code
- Define pages, widgets, actions, and interactions programmatically
- Easily manage and version control your app's codebase
- Share and collaborate on Appsmith apps as code
- Reduce development time and effort by automating repetitive tasks
To get started with the Appsmith CDK, follow these steps:
- Clone the repository:
git clone https://github.com/appsmith/appsmith-cdk.git
- Install the required dependencies:
npm install
- Configure the generator by modifying the templates and settings as per your app's requirements.
- Run the generator:
npm run demo
- The generated Appsmith JSON configuration files will be available in the specified output directory.
To use the Appsmith CDK, you need to define your app's structure and configuration in code. The generator uses predefined templates that you can modify or extend to match your specific requirements. The following steps outline the typical usage:
- Define your app's pages, widgets, and actions using the provided templates or by creating your own.
- Customize the template variables and settings to match your app's needs.
- Run the generator script to produce the Appsmith JSON configuration files.
- Import the generated files into Appsmith using the UI or API. Make sure to review the documentation and examples provided in the project's repository for detailed instructions on creating and configuring your app using the code generator.
If you have any questions or need assistance, please don't hesitate to reach out to the project's maintainers. Happy coding!