This project is based on the educational React course by SabzLearn. The backend has been provided exclusively by the SabzLearn Academy website, and the frontend has been developed by me. It is connected to a MySQL database and a Node.js backend. It has some issues that will be fixed in the future. This project will not be deployed! I designed it only for practice and to challenge myself.
Follow these steps to set up and run the project on your local machine.
Make sure to install the following prerequisites:
Node.js:
XAMPP:
Clone the project repository from GitHub:
git clone https://github.com/impooya/cms-site-fa.git
cd cms-app
install the Node.js dependencies
npm install
Navigate to the backend directory and install the Node.js dependencies:
cd cms-app/backend
npm install
To set up the MySQL database for this project, follow these steps:
sabzlearn_shop
.sabzlearn_shop.sql
file located in cms-app/backend/database
.To run the project, open two terminal windows or use a terminal multiplexer.
cd cms-app/backend
node server.js
vite.config.js
is located):cd cms-app
npm run dev
#or
vite
This project is not responsive for mobile and tablet and has limited features; it is somewhat a simulation of a real project. Updates will be coming soon.