This repository contains a collection of sample projects ready to deploy in Choreo, a developer platform for easily taking your work to production. These samples demonstrate various use cases and provide examples for different scenarios.
You can explore the README.md of each sample in its respective directory to learn more about how to use Choreo for specific use cases.
Follow these steps to get started with these Choreo samples:
- Fork this repository to your GitHub account.
- Follow the instructions provided in the respective sample's README to deploy and test the sample.
If you'd like to contribute to this repository, feel free to submit pull requests. Make sure to refer the pull request template.
If you'd like to add a new sample to this repository, please follow the below steps:
- Create a new directory for the sample.
- Add a
README.mdfile to the directory with the following information:- A brief description of the sample.
- Instructions on how to deploy the sample in Choreo.
- Instructions on how to test the sample.
- Add a metadatata file for the sample in the
.samplesdirectory. The metadata file should be named as<sample-name>.yaml. The metadata file should contain the following information:name: Name of the sample.description: A brief description of the sample.componentType: Component type of the sample. Examples:serviceweb-applicationwebhookmanual-taskscheduled-taskevent-handlertest-runnermany
buildPack: Build pack of the sample. Examples:nodepythonjavaballerinadockerfilemanywso2-mi
repositoryUrl: The GitHub repository URL of the sample. https://github.com/wso2/choreo-samples/componentPath: The path to the component in the repository. This should be the path to the directory that contains the sample.thumbnailPath: The path to the thumbnail image of the sample. This should be the path to the thumbnail image relative to therepositoryUrldirectory. It is recommended to add the thumbnail to the.samples/iconsdirectory and refer it here.documentationPath: The path to the documentation/README.md of the sample. This should be the path to the documentation relative to therepositoryUrldirectory.tags: Tags for the sample. This should be a list of strings.
- Submit a pull request to this repository.
This project is licensed under the Apache License.
If you have any questions or need assistance, you can join the Choreo community Discord channel.