https://github.com/rafat97/laravel-vue-sample-project
https://github.com/rafat97/laravel-vue-sample-project
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rafat97/laravel-vue-sample-project
- Owner: Rafat97
- Created: 2021-12-26T15:05:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-29T08:46:08.000Z (over 3 years ago)
- Last Synced: 2025-01-24T17:17:05.560Z (4 months ago)
- Language: PHP
- Size: 1.96 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel + VueJs + Docker
# Installation
## Docker Setup
1. Clone the project```bash
$ git clone https://github.com/Rafat97/laravel-vue-sample-project
```2. Go to the project directory
```bash
$ cd laravel-vue-sample-project
```3. Run docker-compose file
```bash
$ docker-compose up -d --build
```4. First time you need to wait 5-10min. Because for the database initialization
5. Go to this URL for laravel project
```bash
http://localhost:9081/
```6. Go to this URL for phpmyadmin. [username: root]
```bash
http://localhost:6601/
```## Manual Approch
1. Clone the project```bash
$ git clone https://github.com/Rafat97/laravel-vue-sample-project
```2. Go to the project directory
```bash
$ cd laravel-vue-sample-project
```3. Create a `.env` file. And add your database information. Ex:
```bash
APP_DEBUG=trueDB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=6603
DB_DATABASE=testapp_db
DB_USERNAME=root
DB_PASSWORD=
```4. Run the composer
```bash
composer install
```5. Run the migration command
```bash
php artisan migrate
```6. Run the stroage link command
```bash
php artisan stroage:link
```7. Run the stroage link command
```bash
php artisan storage:link
```8. Start the server
```bash
php artisan serve
```8. Go to this URL
```bash
http://localhost:8000/
```# Sample output screenshot
## Page 1

## Page 2

## Page 3

# Contributed
| | |
| ----------- | ----------- |
|  | `Name:` Emdadul Haque
`Email:` [email protected]
`Website :` https://rafat97.github.io/
`Github:` https://github.com/Rafat97
`Linkedin:` https://www.linkedin.com/in/emdadul-haque-173131139/
`Project Info:` https://gist.github.com/Rafat97/f4d0053b26106c03d89fa1ae014cbaa4 |