Skip to content

Simple REST PluginΒ #13

@Akryum

Description

@Akryum

Clear and concise description of the problem

We need to make it easy to start using rstore with less boilerplate code

Suggested solution

const restPlugin = createSimpleRestPlugin({
  baseUrl: '/api',

  // Optionally customize requests
  onFetch: (payload) => {
    return { url: '', query: {}, headers: {}, body: {} }
  },
})

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions