Projects - Mini Ecommerce

Tips and posts related to ecommerce

 

Building mini ecommerce in Laravel

This post will have all the links of step by step implementation of mini ecommerce site with database tables -...


Seeding user data for miniecommerce

Step 01: Creating fresh laravel project composer create-project laravel/laravel miniecommerce Step 02: Setting Up migration, factory and seeder of User...


Seeding product data for miniecommerce contd...

// artisan command for migration, factory and seeder file php artisan make:model Product -mfs // migration file public function up()...


Seeding profile data for miniecommerce contd...

// artisan command for migration, factory and seeder file php artisan make:model Profile -mfs // migration file public function up()...


Seeding Frame Width data for miniecommerce contd...

// artisan command for migration, factory and seeder file php artisan make:model FrameWidth -mfs // migration file public function up()...


Seeding Order data for miniecommerce contd...

// artisan command for migration, factory and seeder file php artisan make:model Order -mfs // migration file public function up()...


Seeding Order Item data for miniecommerce

// artisan command for migration, factory and seeder file php artisan make:model OrderItem -mfs // migration file public function up()...


Adding boostrap and auth scaffolding using laravel/ui package

To properly install auth scaffolding and use bootstrap together in laravel we need to run following commandscomposer require laravel/uiphp artisan...


Setting up login page in home route

Step 01: Setting up routes/web.php Route::get('/', [LoginController::class,'login']); Step 02: Changing Up Auth/LoginController.php public function login() {    return view( 'auth.login' );...


Redirecting to product list or order list page after login based on role

For this project we consider two types of user - admin and customer. Their roles are assigned as 1 and...