Here are the steps to work with the CRUD Laravel-Vue project:
-
Clone the repository:
git clone <https> cd crud-Laravel-vue
-
Work with the frontend:
cd crud npm install npm run dev
-
Work with the database:
- Open XAMPP
- Go to MySQL admin
- Add a database named "firstwebsite"
-
Work with the backend:
cd .. cd firstwebsite composer install php artisan migrate php artisan key:generate php artisan serve
After completing the steps, the frontend will be running at: http://localhost:5174 And the backend will be running at: http://127.0.0.1:8000/api/students1.Clone Repo git clone cd crud-Laravel-vue 2.Work With Frontend cd crud npm i npm run dev 3.Work with database open Xampp go in mysql admin add a database name firstwebsite 4.Work with Backend cd .. cd firstwebsite composer-install php artisan migrate php artisan key:generate php artisan serve
frontend running at :- http://localhost:5174 backend running at :- http://127.0.0.1:8000/api/students