A simple CRUD application in React JS with PHP as the server-side language, and MySQL Database.
This tutorial covers only the basic aspects of how to create a simple CRUD application using ReactJS, so you won't find 'how to use Redux' or other topics in this sample.
The included features are:
- User Registration and Authentication
- Server-side CRUD with grid, pagination, filtering, and sorting
Since this project used PHP as the API, you could put the project inside your PHP web server root directory.
$ git clone https://github.com/andy1992/react-crud.git
Since the project used MySQL Database, you could find the exported database on the /database directory, and import it to your MySQL Database.
Set the hostname, database name, username, and password based on your database configuration.
class Database{
private $host = "localhost";
private $db_name = "react-crud";
private $username = "root";
private $password = "secret";
public $conn;
//...
}