Skip to main content

Posts

Showing posts from August, 2022

Product CRUD project: React Express & Mysql

From this article, you learn React by an example project. We are going to create a simple product page that allow loggined user to manage add, list, update, delete, and search products. React is used for front-end and Express will be our backend. We create APIs to work with Mysql database using Express. Express is a minimal and fast Node.js web application framework that provides a robust set of features for web and mobile applications. You have to create a folder called prod_project in drive D or in another drive of your choice. From VSC editor, open the prod_project folder and on terminal change to the folder and issue the following command to create package.json file for the Express project. D:\prod_project>npm init Then, you go further to install Express framework by the command as below: D:\prod_project>npm install express To work with Mysql database on your Windows machine, you install Mysql database server. On my machine, i have xampp package that comes with M