davestewart / Axios Actions
Bundle endpoints as callable, reusable services
Stars: ✭ 172
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Axios Actions
Js Client
A Open-API derived JS + Node.js API client for Netlify
Stars: ✭ 170 (-1.16%)
Mutual labels: api, rest
Fastapi Crudrouter
A dynamic FastAPI router that automatically creates CRUD routes for your models
Stars: ✭ 159 (-7.56%)
Mutual labels: api, rest
Middleware Acl
middleware-acl Access Control Library RBAC casbin
Stars: ✭ 155 (-9.88%)
Mutual labels: api, rest
Restinstance
Robot Framework library for RESTful JSON APIs
Stars: ✭ 157 (-8.72%)
Mutual labels: api, rest
The Rest Architectural Style
An article on the REST architecture style.
Stars: ✭ 168 (-2.33%)
Mutual labels: api, rest
Node Express Postgresql Sequelize
Node.js, Express.js, Sequelize.js and PostgreSQL RESTful API
Stars: ✭ 148 (-13.95%)
Mutual labels: api, rest
Api Diff
A command line tool for diffing json rest APIs
Stars: ✭ 164 (-4.65%)
Mutual labels: api, rest
Appkernel
API development made easy: a smart Python 3 API framework
Stars: ✭ 152 (-11.63%)
Mutual labels: api, rest
Thehive
TheHive: a Scalable, Open Source and Free Security Incident Response Platform
Stars: ✭ 2,300 (+1237.21%)
Mutual labels: api, rest
Core
The server component of API Platform: hypermedia and GraphQL APIs in minutes
Stars: ✭ 2,004 (+1065.12%)
Mutual labels: api, rest
Restrequest4delphi
API to consume REST services written in any programming language with support to Lazarus and Delphi
Stars: ✭ 162 (-5.81%)
Mutual labels: api, rest
Sp Rest Proxy
🌐 SharePoint REST API Proxy for local Front-end development tool-chains
Stars: ✭ 147 (-14.53%)
Mutual labels: api, rest
Jda
Java wrapper for the popular chat & VOIP service: Discord https://discord.com
Stars: ✭ 2,598 (+1410.47%)
Mutual labels: api, rest
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (-15.12%)
Mutual labels: api, rest
Examples
Examples of Mock Service Worker usage with various frameworks and libraries.
Stars: ✭ 163 (-5.23%)
Mutual labels: api, rest
Rest Api Slim Php
Example of REST API with Slim PHP Framework.
Stars: ✭ 165 (-4.07%)
Mutual labels: api, rest
Axios Actions
Bundle endpoints as callable, reusable services
Abstract
Axios Actions comprises a small set of classes which collate URLs or URL request configs as callable actions.
First, define your endpoints:
const actions = {
<action>: '<url>',
<action>: '<config>',
...
}
Then, encapsulate them as one of the built-in services:
const service = new <ApiClass>(axios, actions)
Finally, call them:
service
.<action>(<data>)
.then(<handler>)
This service-based approach:
- removes brittle configuration from components and stores
- encapsulates additional logic (such as load state and handlers) within the service
- ensures application code stays simple and semantic
- provides a dedicated layer for API interaction
There are lots of other goodies in the library which take the drudgery out of working with APIs!
Documentation
Start reading:
Next steps
Demos:
Installation:
npm i -S axios-actions
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].