- Nodejs v 18.11.0 or later (yarn or npm)
- MySQL
git clone https://github.com/HOAIAN2/e-commerce.git
cd e-commerce
- Change permission on Linux:
chmod +x ./prepare.sh
chmod +x ./build.sh
- Run
prepare.bat
orprepare.sh
to generate .env file and install libs for server and client. - Restore database in
./database/db_backup.sql
- Run
build.bat
orbuild.sh
to build ReactJS and start server