Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fogfish/aws-cdk-pure
Purely Functional and high-order cloud components with AWS CDK
https://github.com/fogfish/aws-cdk-pure
aws aws-cdk cloud-component higher-order-component hoc iaac infrastructure infrastructure-as-code pure-functional typescript
Last synced: 12 days ago
JSON representation
Purely Functional and high-order cloud components with AWS CDK
- Host: GitHub
- URL: https://github.com/fogfish/aws-cdk-pure
- Owner: fogfish
- License: mit
- Created: 2019-08-23T12:47:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:35:38.000Z (almost 2 years ago)
- Last Synced: 2024-10-18T16:25:52.327Z (21 days ago)
- Topics: aws, aws-cdk, cloud-component, higher-order-component, hoc, iaac, infrastructure, infrastructure-as-code, pure-functional, typescript
- Language: TypeScript
- Homepage:
- Size: 1.22 MB
- Stars: 93
- Watchers: 4
- Forks: 6
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cdk - aws-cdk-pure - A toolkit to develop purely functional and high-order cloud components with AWS CDK. (High-Level Frameworks / Multi-accounts setup)
- awesome-cdk - aws-cdk-pure - A toolkit to develop purely functional and high-order cloud components with AWS CDK. (High-Level Frameworks / Multi-accounts setup)
README
# aws-cdk-pure
The library is a toolkit for development of **high-order** and **purely functional** components with [AWS CDK](https://docs.aws.amazon.com/cdk/latest/guide/home.html).
[![Build Status](https://secure.travis-ci.org/fogfish/aws-cdk-pure.svg?branch=master)](http://travis-ci.org/fogfish/aws-cdk-pure)
[![Git Hub](https://img.shields.io/github/last-commit/fogfish/aws-cdk-pure.svg)](http://travis-ci.org/fogfish/aws-cdk-pure)
[![npm](https://img.shields.io/npm/v/aws-cdk-pure?label=pure)](https://www.npmjs.com/package/aws-cdk-pure)
[![npm](https://img.shields.io/npm/v/aws-cdk-pure-hoc?label=hoc)](https://www.npmjs.com/package/aws-cdk-pure-hoc)## Inspiration
The purely functional extension to AWS CDK and has been inspired by the following posts
* [Composable Cloud Components with AWS CDK](https://i.am.fog.fish/2019/07/28/composable-cloud-components-with-aws-cdk.html)
* [Purely Functional Cloud Components with AWS CDK](https://i.am.fog.fish/2019/08/23/purely-functional-cloud-with-aws-cdk.html).`aws-cdk-pure` is an utility for design and development of purely functional and higher-order components. You know React Hooks! Think of it as **hooks for your cloud infrastructure**.
## Getting Started
This repository implements TypeScript libraries for cloud development. Please see its details and guidelines in corresponding README.md files
* [aws-cdk-pure](pure) - a core part of the toolkit. It defines types and functional primitives required for hight-order components development. It maintain a slim dependencies towards other library, only `@aws-cdk/core` is used.
* [aws-cdk-pure-hoc](hoc) - implements reusable purely functional high-order components. These components are building blocks and design patterns for your cloud infrastructure.
## How To Contribute
The library is [MIT](LICENSE) licensed and accepts contributions via GitHub pull requests:
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull RequestThe development requires TypeScript and AWS CDK
```bash
npm install -g typescript ts-node aws-cdk
``````bash
git clone https://github.com/fogfish/aws-cdk-pure
cd aws-cdk-pure## cd either to pure or hoc folder
npm install
npm run test
npm run lint
npm run build
```## License
[![See LICENSE](https://img.shields.io/github/license/fogfish/aws-cdk-pure.svg?style=for-the-badge)](LICENSE)