https://github.com/andresfb/quickshop
A simple Shopping Cart built using Laravel.
https://github.com/andresfb/quickshop
bootstrap docker jquery laravel php7 shopping-cart
Last synced: 3 months ago
JSON representation
A simple Shopping Cart built using Laravel.
- Host: GitHub
- URL: https://github.com/andresfb/quickshop
- Owner: andresfb
- License: mit
- Created: 2018-12-11T16:23:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-06T02:48:19.000Z (about 6 years ago)
- Last Synced: 2025-10-25T10:28:01.554Z (8 months ago)
- Topics: bootstrap, docker, jquery, laravel, php7, shopping-cart
- Language: PHP
- Homepage:
- Size: 761 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quick Shop
A simple Shopping Cart built in PHP 7.2 with Laravel 5.7 framework.
## Installation
After cloning the repo rename the `.en.mysql` in the root to `.env`. Update the variables to your desired values, create and run the docker container with:
```
docker-compose up -d
```
Wait for the images to build, and the containers to start then go into `.src/` folder rename the `.env.example` to `.env` and edit the `DB_` section to match the values used in the previous step.
Go into the root directory and run the following commands to get the Laravel environment ready.
```
docker-compose exec app composer install
docker-compose exec app php artisan key:generate
docker-compose exec app php artisan config:cache
docker-compose exec app php artisan migrate:fresh --seed
```
Point your browser to `http://127.0.0.1` to access the application. Optionally you can add an entry to your hosts file for a local domain as:
````
127.0.0.1 quickshop.local
````
And access the app through `http://quickshop.local`.
Laravel Telescope is also configured and can be accessed through `http://127.0.0.1/telescope`
Lastly, the PHPMyAdmin is also configured as a Container and can be accessed from `http://127.0.0.1:8080/`