https://github.com/priom7/laravel-vue-mysql-task
The following web application was built using, Laravel, Vue and MySQL. CRUD app for storing Employee Basic Info
https://github.com/priom7/laravel-vue-mysql-task
javascript laravel mysql-database php vue3
Last synced: about 1 month ago
JSON representation
The following web application was built using, Laravel, Vue and MySQL. CRUD app for storing Employee Basic Info
- Host: GitHub
- URL: https://github.com/priom7/laravel-vue-mysql-task
- Owner: Priom7
- Created: 2023-12-24T22:47:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T21:41:34.000Z (over 2 years ago)
- Last Synced: 2025-06-08T01:42:38.302Z (about 1 year ago)
- Topics: javascript, laravel, mysql-database, php, vue3
- Language: PHP
- Homepage:
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Employee App
The following web application was built using, Laravel, Vue and MySQL
### Instructions to Run The Application with Docker
1. Clone the repository:
git clone https://github.com/Priom7/Laravel-Vue-MySQL-Task.git
2. Change Diroctory into App:
cd employee-app
3. Setup .env file:
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=employeeDB
DB_USERNAME=sail
DB_PASSWORD=password
4. Create Alias for sail command:
alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'
5. Run Docker Container:
sail up -d
6. Get into Container directory:
docker exec -it employee-app-laravel.test-1 /bin/bash
7. Install dependecies for vue JS:
npm install
8. Migrate and Seed Database:
php artisan migrate:refresh —seed
9. Run Dev for Frontend:
npm run dev
10. Exit Container:
exit
11. Stop Container:
sail down