Skip to content

Simple REST Plugin #13

Open
@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

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions