Cloud SWAG (Simple Web Api Generator) is a command-line interface (CLI) tool for creating and managing cloud resources on popular cloud platforms, such as AWS (Azure, and Google Cloud Platform in future versions). With Cloud SWAG, you can easily generate and deploy cloud infrastructure (programming language agnostic!) that can be used for APIs.
The key idea is to collect templates in order to reduce time of creating boilerplates.
To install Cloud SWAG, use npm:
npm install -g cloud-swag
This will install Cloud SWAG globally on your machine, allowing you to use it from any directory.
To use Cloud SWAG, run the tool using the cloud-swag
command:
cloud-swag
This will display the list of available commands and their usage instructions. From there, you can use the tool to create and manage cloud resources on AWS, Azure, and Google Cloud Platform.
List of available templates might be found here
Once you have created your cloud infrastructure, you can deploy your web application or API using your preferred deployment method. You can use Cloud SWAG to generate starter code for your API, including serverless functions and API Gateway configurations for AWS.
If you want to contribute to Cloud SWAG, feel free to submit a pull request or create an issue in the repository on Github. We welcome contributions of any kind, including bug reports, feature requests, documentation improvements, and code changes.
Cloud SWAG is licensed under the MIT License.