Skip to content

Bloggify/bloggify-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bloggify-actions

Version Downloads

High-level module for building the actions functionality. Core module.

☁️ Installation

# Using npm
npm install --save bloggify-actions

# Using yarn
yarn add bloggify-actions

📝 Documentation

bloggifyActions()

High-level module for building the actions functionality. Core module.

The actions are located, by default, in the app/actions directory:

// users.js
exports.list = ctx => Bloggify.services.users.getAll()
exports.update = ctx => Bloggify.services.users.update(ctx.data)
exports.insert = ctx => Bloggify.services.users.insert(ctx.data)
exports.remove = ctx => Bloggify.services.users.remove(ctx.data)

The actions' handlers should return promises.

❓ Get Help

There are few ways to get help:

  1. Please post questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.
  2. For bug reports and feature requests, open issues. 🐛

😋 How to contribute

Have an idea? Found a bug? See how to contribute.

📜 License

MIT © Bloggify

About

↕️ High-level module for building the actions functionality. Core module.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors