Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sanv92/react-api-transfer-manager

React Api Transfer Manager (wrapper for action requests)
https://github.com/sanv92/react-api-transfer-manager

Last synced: about 2 months ago
JSON representation

React Api Transfer Manager (wrapper for action requests)

Awesome Lists containing this project

README

        

# React Api Transfer Manager (wrapper for action requests)

```js
export class NewsRepository implements NewsRepositoryInterface {
constructor(api: ApiManager) {
this.api = api
}

newsList() {
return this.api.get('/news.json')
}

newsItem(slug: String) {
return this.api.get(`/news/${slug}.json`)
}
}
```