Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ittisafur/e-shopper

Trying to make an ecommerce with laravel and vue algolia. If you follow the heroku app refresh couple of times as i'm running on the free plan
https://github.com/ittisafur/e-shopper

algolia-search aws-s3 laravel-ecommerce laravel-framework laravel-queue laravel-socialite laravel-voyager laravel7 mailing sendgrid stripe

Last synced: about 1 month ago
JSON representation

Trying to make an ecommerce with laravel and vue algolia. If you follow the heroku app refresh couple of times as i'm running on the free plan

Awesome Lists containing this project

README

        

## E-Shopper Ecommerce
E-shopper is a free template can be found [here](https://themehunt.com/item/1524993-eshopper-free-ecommerce-html-template):
## Getting Started
- `php artisan migrate --seed`.
- `php artisan voyager:install` - else you won't be able to go to yourdomain.com/admin.
- `php artisan voyager:admin [email protected] --create`.

## Email and Notifications
I used sendgrid, get the Api Secret and set it in `MAIL_PASSWORD` and the `MAIL_USERNAME=apikey`. You are now set to use mailing system.
##### Contact Form Mailing
Change `DEFAULT_MAIL_TO` your email address or your destination.
## Queueing mail
Currently the notifcation can be queued.
- Make sure to change `QUEUE_CONNECTION` from `sync` to `database`.
- Run `php artisan queue:work` in a new terminal tab.

## Using Socialite

The application comes with only facebook login feature currently. Get your client_id and client_secret from [here](https://developers.facebook.com/).
- Add `FB_CLIENT_ID` and `FB_CLIENT_SECRET`

## Using Stripe

Get your stripe key and secret from stripe from [here](https://dashboard.stripe.com/test/apikeys)

- Add your `STRIPE_KEY` and `STRIPE_SECRET`.
- 4242424242424242 month/year 318

## Using Algolia
I have implemented Vue autocomplete here

- Change your appid and apikey in both resource/js/app.js and `ALGOLIA_APP_ID` , `ALGOLIA_SECRET` in .env file.
- `npm install`
- `npm run watch` or `npm run dev`
- Run `php artisan scout:import "App\Model\Product"`
- Run `php aritsan queue:work` - as `SCOUT_QUEUE` is set to true or else your data won't be uploaded.

Now you are good to go.

## License

This is an open-source project under the [MIT license](https://opensource.org/licenses/MIT).