Workshop Guide

Workshop Overview

Today you'll build a complete e-commerce database structure using Laravel Eloquent. You'll create models with relationships, generate test data, and practice writing complex Eloquent queries.

Your Progress

0% Complete
Stage 1
Stage 2
Stage 3
Stage 4

What You'll Learn

Database schema design
Eloquent model relationships
Data factories and seeders
Complex database queries
E-commerce data structure
Laravel best practices

Challenge Stages

The workshop is divided into four progressive stages. After completing each stage, you'll submit your progress on Slack.

1

Stage 1: Project & Database Setup

Create a new Laravel project and set up the database schema for an e-commerce platform.

2

Stage 2: Model Creation with Relationships

Create all the necessary models with proper Eloquent relationships.

3

Stage 3: Factories and Seeders

Create factories for all models and seed the database with test data.

4

Stage 4: Eloquent Query Challenges

Implement complex Eloquent queries to solve real-world e-commerce scenarios.

Final Submission

After completing all stages, you'll create a GitHub repository with your project and submit:

  • GitHub repository URL
  • Screenshots of all checkpoint outputs
  • A short summary (3-5 sentences) of what you learned and what was most challenging

Canvas Submission

Submit your GitHub repository link to the "Laravel Eloquent" assignment on Canvas LMS. Make sure your repository is public so it can be accessed for grading.

Evaluation Criteria

  • Correct implementation of database schema
  • Proper model relationships
  • Functional data seeding
  • Accurate Eloquent queries
  • Code quality and organization