Skip to content

Wordpress plugin to add a Dashboard Widget using Reactjs and WP REST API

Notifications You must be signed in to change notification settings

bogere/rechart-wordpress-admin-widget

Repository files navigation

WordPress Plugin Active Installs WordPress Plugin Downloads

Recharts Admin Dashboard widget is the wordpress plugin that is built using the Reactjs framework and PHP/wordpress

Getting Started

These instructions will help you to get the plugin up and running on your local machine for development and testing purposes.

⚠️ Prerequisites

We recommend using these tools for the development of Recharts Admin.

  • Wordpress installation Upload the entire seo_dash folder to the /wp-content/plugins/ directory.

  • Make sure PHPCS & WPCS are installed and working properly

Required WP Plugins:

Rexhart Admin Dashboard plugin also requires Node.js. The Project is built using the Node v16.0.0 and the latest version of NPM.

Refer to this tutorial to download and install Node.js and NPM

After installing Node, run the below command in the plugin directory to install all the required dependencies.

npm install

Then proceed to install the php libraries using the composer tool composer install

🏗️ Development

npm start - Starting the reactjs frontend app

npm run lint:php - After you have set up the PHPCodeSniffer and setting up the wordpress coding standard files and then go ahead to run the above command This will help in formatting the written code to wordpress php coding standards

Go ahead and activate the plugin and then visit the admin dashboard while the client is running in the development mode

Production:

npm run build - It creates the build version of the frontend and then upload the whole plugin files to the wordpress/wp-contents/plugins to activate it

Pull Request Formatting

  • Before creating a new branch for any issue, make sure the issue is created, if not please create it before creating a new branch and PR
  • Branch slug format should be fixed-issueid
  • PR Title should start with the Fixed #issueid: Issue Title
  • Make sure to close the issue from the PR description area [ Closes/Fixes #issueid]

About

Wordpress plugin to add a Dashboard Widget using Reactjs and WP REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published