Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wmfs/tymly-core
An open framework for building digital services.
https://github.com/wmfs/tymly-core
tymly
Last synced: 3 months ago
JSON representation
An open framework for building digital services.
- Host: GitHub
- URL: https://github.com/wmfs/tymly-core
- Owner: wmfs
- License: mit
- Created: 2018-06-11T16:17:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T11:33:33.000Z (3 months ago)
- Last Synced: 2024-10-25T04:36:26.381Z (3 months ago)
- Topics: tymly
- Language: JavaScript
- Homepage:
- Size: 1.55 MB
- Stars: 4
- Watchers: 7
- Forks: 2
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# tymly
[![Tymly Package](https://img.shields.io/badge/tymly-package-blue.svg)](https://tymly.io/)
[![npm (scoped)](https://img.shields.io/npm/v/@wmfs/tymly.svg)](https://www.npmjs.com/package/@wmfs/tymly)
[![CircleCI](https://circleci.com/gh/wmfs/tymly-core.svg?style=svg)](https://circleci.com/gh/wmfs/tymly-core)
[![codecov](https://codecov.io/gh/wmfs/tymly-core/branch/master/graph/badge.svg)](https://codecov.io/gh/wmfs/tymly-core)
[![CodeFactor](https://www.codefactor.io/repository/github/wmfs/tymly-core/badge)](https://www.codefactor.io/repository/github/wmfs/tymly-core)
[![Dependabot badge](https://img.shields.io/badge/Dependabot-active-brightgreen.svg)](https://dependabot.com/)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/wmfs/tymly/blob/master/packages/pg-concat/LICENSE)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fwmfs%2Ftymly-core.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fwmfs%2Ftymly-core?ref=badge_shield)> A framework for building and sharing workflows in Node.js.
## Install
```bash
$ npm install tymly --save
```## Usage
```javascript
const tymly = require('tymly')const tymlyServices = await tymly.boot(
{
// Blueprints are structured directories that describe a business function.
// They contain 'state-machines' (e.g. Finite State Machines expressed in JSON as per Amazon State Machine specification: http://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-state-machine-structure.html)
// along with the resources required for those state-machines to run (e.g. data
// model definitions, images, form-layouts, templates etc.)
// This is just a simple list of directories where blueprints can be found...
blueprintPaths: [
'/tymly/blueprints/hr', // Some flows for HR-related things
'/tymly/blueprints/payroll' // Some flows for payroll-related activities
],
excludeBlueprints: 'the-thing-that-should-not-be-blueprint'
// Tymly is extended via plugins, each in-turn offer 'services' and other components...
pluginPaths: [
'/tymly/plugins/tymly-express-plugin', // For accessing Tymly over HTTP/REST etc.
'/tymly/plugins/tymly-etl-plugin', // Adds import-from-CSV capabilities
'/tymly/plugins/tymly-pg-plugin' // Persist to PostgreSQL instead of the default in-memory solution
],
excludePlugins: 'the-thing-that-should-not-be-plugin'
}
)// Do something with those services...
// (e.g. the 'tymly-express-plugin' provides an Express-powered 'server' service)
const port = 3000
services.server.listen(port, () => {
console.log(`Example app listening on port ${port}`);
})
```Tymly has been developed as an alternative for organisations (especially non-profits and Government departments) who need continually-evolving business software - but can do without the complexity, expense and vendor lock-in that usually accompanies it.
For documentation, please visit http://www.tymly.io/
## Tests
```bash
$ npm test
```## License
[MIT](https://github.com/wmfs/tymly/blob/master/LICENSE)[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fwmfs%2Ftymly-core.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fwmfs%2Ftymly-core?ref=badge_large)