- Front-end: HTML, CSS, Javascript, VueJS, Laravel.
- Back-end: Laravel, MySQL.
- Git Bash, Visual Studio Code.
- PHP version 7.4.25, NodeJS, VueJS version 2.
- Start XAMPP.
- Open the Git Bash terminal in the htdocs directory of XAMPP.
- Run the command
git clone https://github.com/ducducqn123/Website-Selling-Food.git
.
- Open the phpMyAdmin page.
- Create a new database named: selling_food.
- Import the database selling_food.sql into the phpMyAdmin page.
- Go to the link Composer Download and select Composer-Setup.exe to download Composer.
-
Continue in the terminal where you cloned the Git repository.
-
Run serve Back-end:
cd finalproject
- Execute the command
php artisan serve
- The Back-end code will run on port 8000 (localhost:8000/admin).
- User: 19521383@gmail.com / Password: 123123123.
- Execute the command
-
Open a new terminal to run serve Front-end:
cd frontend
- Execute the command:
php artisan serve --port=8060
.
- Execute the command:
-
Open another new terminal to run the interface:
cd frontend
- Install
npm install --save-dev cross-env
- Execute the command:
npm run watch
- The Front-end code will run on port 8060 (localhost:8060).
- Install