Skip to content

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

Notifications You must be signed in to change notification settings

ittisafur/e-shopper

Repository files navigation

E-Shopper Ecommerce

E-shopper is a free template can be found here:

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 your@email.com --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.

  • Add FB_CLIENT_ID and FB_CLIENT_SECRET

Using Stripe

Get your stripe key and secret from stripe from here

  • 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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published