https://github.com/zinmyoswe/laravel-ecommerce
Laravel Ecommerce website built with Laravel 6, and VueJS
https://github.com/zinmyoswe/laravel-ecommerce
algolia laravel laravel-ecommerce laravel6 paypal paypal-checkout stripe voyager vue
Last synced: 4 months ago
JSON representation
Laravel Ecommerce website built with Laravel 6, and VueJS
- Host: GitHub
- URL: https://github.com/zinmyoswe/laravel-ecommerce
- Owner: zinmyoswe
- Created: 2020-04-20T01:14:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T19:21:33.000Z (about 1 year ago)
- Last Synced: 2025-02-01T04:51:24.188Z (4 months ago)
- Topics: algolia, laravel, laravel-ecommerce, laravel6, paypal, paypal-checkout, stripe, voyager, vue
- Language: PHP
- Homepage: https://cherrypeachtechnology.com/
- Size: 9.06 MB
- Stars: 113
- Watchers: 5
- Forks: 47
- Open Issues: 27
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Demo
`INDEX Page`

`Product Slide`
`PRODUCTS Page`

`Algolia Search`

`PRODUCT DETAIL Page`

`CART PAGE`

`Shipping Page`

`Stripe Payment success`

`LOGIN Page`

`ADMIN PAGE`

## Installation
Clone the repo and `cd` into it
`composer install`
Rename or copy `.env.example` file to `.env`
`php artisan key:generate`
Set your database credentials in your `.env` file
Set your Braintree credentials in your `.env` file if you want to use PayPal. Specifically `BT_MERCHANT_ID`, `BT_PUBLIC_KEY`, `BT_PRIVATE_KEY`. If you don't, it should still work but won't show the paypal payment at checkout.
Set your `APP_URL` in your `.env` file. This is needed for Voyager to correctly resolve asset URLs.
Set `ADMIN_PASSWORD` in your `.env` file if you want to specify an admin password. If not, the default password is 'password'
`php artisan ecommerce:install`. This will migrate the database and run any seeders necessary.
`npm install`
`npm run dev`
`npm run watch`
`php artisan make:migration`
`php artisan migrate`
`php artisan db:seed`
`php artisan storage:link`
`php artisan serve`
`localhost:8000`
`localhost:8000/admin/login`
Admin User/Password: `[email protected]/password`.
Admin Web User/Password: `[email protected]/password`## Stripe
Enter your `stripe key` and Enter your `stripe secret` in `.env` file.
these keys can be get from https://dashboard.stripe.com/test/dashboard by creating stripe account```php
STRIPE_KEY = Enter your stripe keySTRIPE_SECRET= Enter your stripe secret
```## Algolia
Enter your `algolia app_id` and Enter your `algolia secret` in `.env` file.
these keys can be get from https://www.algolia.com/apps/ by creating algolia account
```php
ALGOLIA_APP_ID = Enter your algolia app_idALGOLIA_SECRET = Enter your algolia secret
```## Package used
Stripe payment : https://github.com/cartalyst/stripe-laravel
Shopping cart : https://github.com/hardevine/LaravelShoppingcart