WP Manifestindependent plugin directory
manifest / admin / wp-rest-data-manager

WP REST Products Manager

REST API + React powered admin data manager.

★ 6stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/tajwar-t/wp-rest-data-manager/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

REST-Based Admin Data Manager

Version: 1.0
Author: Tajwar
Requires: WordPress 6.0+
Tested up to: 6.5
License: GPLv2 or later


Description

REST-Based Admin Data Manager is a WordPress plugin that provides a modern admin interface to manage custom data items using React and WordPress REST API.

It allows administrators to create, read, update, and delete (CRUD) items from a custom database table without page reloads. This plugin demonstrates modern WordPress plugin development using REST API, AJAX, and React components.

Key Features:

  • Add, edit, and delete custom data items via a React-powered admin panel
  • Inline editing and modal-based forms for a professional SaaS-like experience
  • Bulk delete functionality for efficient management
  • Search and pagination for large datasets
  • Toast notifications for success and error messages
  • Fully integrated with WordPress admin styling using @wordpress/components

This plugin is perfect for learning REST API integration, AJAX, React in WordPress admin, and creating professional plugin interfaces.


Installation

  1. Upload the rest-admin-data-manager folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to the admin menu Data Manager to access the admin dashboard.

Usage

  1. Add a new item: Click the Add New Item button, fill in the Title and Status, then click Save.
  2. Edit an item: Click the Edit button on any row, modify the data in the modal, and save.
  3. Delete an item: Click the Delete button for a single item.
  4. Bulk delete: Select multiple items using checkboxes, then click Delete Selected.
  5. Search items: Use the search box to filter items by title.
  6. Pagination: Navigate through multiple pages using Prev/Next buttons.

REST API Endpoints

The plugin exposes the following REST API endpoints (authenticated users only):

Method Endpoint Description
GET /wp-json/dm/v1/items Fetch all items
POST /wp-json/dm/v1/items Add a new item
PUT /wp-json/dm/v1/items/{id} Update an item by ID
DELETE /wp-json/dm/v1/items/{id} Delete an item by ID

All endpoints require a valid WordPress nonce and manage_options capability.


Developer Notes

  • Uses WordPress @wordpress/components for modals, buttons, inputs, and notifications.
  • All data operations are AJAX-based via wp.apiFetch.
  • Ideal plugin for learning modern WordPress plugin development using React + REST API.
  • Can be extended to manage other custom tables like orders, tasks, or transactions.

Changelog

1.0

  • Initial release
  • React-based admin table
  • REST API CRUD endpoints
  • Modals, search, pagination, and bulk actions
  • Toast notifications

License

GPLv2 or later – see LICENSE file for details.


Screenshots

  1. React-powered admin table
  2. Modal for Add/Edit item
  3. Toast notifications and bulk actions