├── .editorconfig ├── .env.example ├── .gitattributes ├── .github └── workflows │ ├── php-cs-fixer.yml │ └── run-tests.yml ├── .gitignore ├── .php_cs ├── .prettierrc ├── .styleci.yml ├── README.md ├── _ide_helper_models.php ├── app ├── Console │ └── Kernel.php ├── Context │ ├── Order │ │ ├── Events │ │ │ ├── CouldNotCreateOrderBecauseInsufficientStock.php │ │ │ ├── OrderCancelledEvent.php │ │ │ ├── OrderCreatedEvent.php │ │ │ ├── ProductCreatedEvent.php │ │ │ └── ProductDeletedEvent.php │ │ ├── Exceptions │ │ │ └── CannotCreateOrderBecauseInsufficientStock.php │ │ ├── Models │ │ │ ├── Order.php │ │ │ └── ProductStock.php │ │ ├── OrderAggregateRoot.php │ │ ├── Projectors │ │ │ ├── OrderProjector.php │ │ │ └── ProductStockProjector.php │ │ └── Subscribers │ │ │ └── ProductEventSubscriber.php │ └── Product │ │ ├── Events │ │ ├── DeletingProductEvent.php │ │ ├── ProductCreatedEvent.php │ │ ├── ProductDeletedEvent.php │ │ └── ProductUpdatedEvent.php │ │ └── Models │ │ └── Product.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ └── Controller.php │ ├── Kernel.php │ └── Middleware │ │ ├── Authenticate.php │ │ ├── CheckForMaintenanceMode.php │ │ ├── EncryptCookies.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── TrimStrings.php │ │ ├── TrustProxies.php │ │ └── VerifyCsrfToken.php ├── Models │ └── User.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── EventServiceProvider.php │ ├── RouteServiceProvider.php │ └── SerializerServiceProvider.php ├── Support │ ├── Concerns │ │ └── HasUuid.php │ ├── Events │ │ ├── EventSubscriber.php │ │ └── SubscribesToEvents.php │ ├── Serialization │ │ ├── ClassDiscriminator.php │ │ └── JsonSerializer.php │ └── ValueObjects │ │ ├── ModelUuid.php │ │ ├── OrderUuid.php │ │ ├── ProductStockUuid.php │ │ ├── ProductUuid.php │ │ └── UserUuid.php └── User.php ├── artisan ├── babel.config.js ├── bootstrap ├── app.php └── cache │ └── .gitignore ├── composer.json ├── composer.lock ├── config ├── app.php ├── auth.php ├── broadcasting.php ├── cache.php ├── cors.php ├── database.php ├── event-sourcing.php ├── filesystems.php ├── hashing.php ├── logging.php ├── mail.php ├── queue.php ├── services.php ├── session.php └── view.php ├── database ├── .gitignore ├── factories │ ├── EventFactory.php │ └── UserFactory.php ├── migrations │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ ├── 2020_03_02_083954_create_snapshots_table.php │ ├── 2020_03_02_083954_create_stored_events_table.php │ ├── 2020_03_31_111656_create_products_table.php │ └── 2020_03_31_133455_create_orders_table.php └── seeds │ └── DatabaseSeeder.php ├── lint-staged.config.js ├── netlify.toml ├── package.json ├── phpunit.xml ├── postcss.config.js ├── public ├── .htaccess ├── favicon.ico ├── index.php └── robots.txt ├── resources ├── css │ └── staff │ │ ├── app.css │ │ └── bootstrap.css ├── js │ └── staff │ │ ├── app.tsx │ │ ├── app │ │ └── products │ │ │ ├── components │ │ │ ├── General.tsx │ │ │ ├── ProductDetails.tsx │ │ │ └── index.tsx │ │ │ └── views │ │ │ ├── Form.tsx │ │ │ └── Index.tsx │ │ ├── types │ │ └── app.d.ts │ │ └── ui │ │ ├── forms │ │ ├── components │ │ │ ├── FormCard.stories.tsx │ │ │ ├── FormCard.tsx │ │ │ ├── Label.stories.tsx │ │ │ ├── Label.tsx │ │ │ ├── TextInput.stories.tsx │ │ │ ├── TextInput.tsx │ │ │ └── index.tsx │ │ ├── hooks │ │ │ ├── index.tsx │ │ │ └── useForm.tsx │ │ └── types.d.ts │ │ └── layout │ │ └── components │ │ ├── Card.stories.tsx │ │ ├── Card.tsx │ │ ├── Spacer.stories.tsx │ │ ├── Spacer.tsx │ │ └── index.tsx ├── lang │ └── en │ │ ├── auth.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php └── views │ ├── staff │ └── app.blade.php │ └── welcome.blade.php ├── routes ├── api.php ├── channels.php ├── console.php ├── staff.php └── web.php ├── server.php ├── storage ├── app │ ├── .gitignore │ └── public │ │ └── .gitignore ├── framework │ ├── .gitignore │ ├── cache │ │ ├── .gitignore │ │ └── data │ │ │ └── .gitignore │ ├── sessions │ │ └── .gitignore │ ├── testing │ │ └── .gitignore │ └── views │ │ └── .gitignore └── logs │ └── .gitignore ├── stubs ├── controller.api.stub ├── controller.invokable.stub ├── controller.model.api.stub ├── controller.model.stub ├── controller.nested.api.stub ├── controller.nested.stub ├── controller.plain.stub ├── controller.stub ├── job.queued.stub ├── job.stub ├── migration.create.stub ├── migration.stub ├── migration.update.stub ├── model.pivot.stub ├── model.stub ├── request.stub ├── test.stub └── test.unit.stub ├── tailwind.config.js ├── tsconfig.json ├── webpack.config.js ├── webpack.mix.js └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/.env.example -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/php-cs-fixer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/.github/workflows/php-cs-fixer.yml -------------------------------------------------------------------------------- /.github/workflows/run-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/.github/workflows/run-tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /.php_cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/.php_cs -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/.prettierrc -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/.styleci.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/README.md -------------------------------------------------------------------------------- /_ide_helper_models.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/_ide_helper_models.php -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Console/Kernel.php -------------------------------------------------------------------------------- /app/Context/Order/Events/CouldNotCreateOrderBecauseInsufficientStock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Events/CouldNotCreateOrderBecauseInsufficientStock.php -------------------------------------------------------------------------------- /app/Context/Order/Events/OrderCancelledEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Events/OrderCancelledEvent.php -------------------------------------------------------------------------------- /app/Context/Order/Events/OrderCreatedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Events/OrderCreatedEvent.php -------------------------------------------------------------------------------- /app/Context/Order/Events/ProductCreatedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Events/ProductCreatedEvent.php -------------------------------------------------------------------------------- /app/Context/Order/Events/ProductDeletedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Events/ProductDeletedEvent.php -------------------------------------------------------------------------------- /app/Context/Order/Exceptions/CannotCreateOrderBecauseInsufficientStock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Exceptions/CannotCreateOrderBecauseInsufficientStock.php -------------------------------------------------------------------------------- /app/Context/Order/Models/Order.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Models/Order.php -------------------------------------------------------------------------------- /app/Context/Order/Models/ProductStock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Models/ProductStock.php -------------------------------------------------------------------------------- /app/Context/Order/OrderAggregateRoot.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/OrderAggregateRoot.php -------------------------------------------------------------------------------- /app/Context/Order/Projectors/OrderProjector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Projectors/OrderProjector.php -------------------------------------------------------------------------------- /app/Context/Order/Projectors/ProductStockProjector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Projectors/ProductStockProjector.php -------------------------------------------------------------------------------- /app/Context/Order/Subscribers/ProductEventSubscriber.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Order/Subscribers/ProductEventSubscriber.php -------------------------------------------------------------------------------- /app/Context/Product/Events/DeletingProductEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Product/Events/DeletingProductEvent.php -------------------------------------------------------------------------------- /app/Context/Product/Events/ProductCreatedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Product/Events/ProductCreatedEvent.php -------------------------------------------------------------------------------- /app/Context/Product/Events/ProductDeletedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Product/Events/ProductDeletedEvent.php -------------------------------------------------------------------------------- /app/Context/Product/Events/ProductUpdatedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Product/Events/ProductUpdatedEvent.php -------------------------------------------------------------------------------- /app/Context/Product/Models/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Context/Product/Models/Product.php -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Exceptions/Handler.php -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Http/Controllers/Controller.php -------------------------------------------------------------------------------- /app/Http/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Http/Kernel.php -------------------------------------------------------------------------------- /app/Http/Middleware/Authenticate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Http/Middleware/Authenticate.php -------------------------------------------------------------------------------- /app/Http/Middleware/CheckForMaintenanceMode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Http/Middleware/CheckForMaintenanceMode.php -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Http/Middleware/EncryptCookies.php -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Http/Middleware/RedirectIfAuthenticated.php -------------------------------------------------------------------------------- /app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Http/Middleware/TrimStrings.php -------------------------------------------------------------------------------- /app/Http/Middleware/TrustProxies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Http/Middleware/TrustProxies.php -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Http/Middleware/VerifyCsrfToken.php -------------------------------------------------------------------------------- /app/Models/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Models/User.php -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Providers/AppServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Providers/AuthServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Providers/BroadcastServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Providers/EventServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Providers/RouteServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/SerializerServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Providers/SerializerServiceProvider.php -------------------------------------------------------------------------------- /app/Support/Concerns/HasUuid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Support/Concerns/HasUuid.php -------------------------------------------------------------------------------- /app/Support/Events/EventSubscriber.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Support/Events/EventSubscriber.php -------------------------------------------------------------------------------- /app/Support/Events/SubscribesToEvents.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Support/Events/SubscribesToEvents.php -------------------------------------------------------------------------------- /app/Support/Serialization/ClassDiscriminator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Support/Serialization/ClassDiscriminator.php -------------------------------------------------------------------------------- /app/Support/Serialization/JsonSerializer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Support/Serialization/JsonSerializer.php -------------------------------------------------------------------------------- /app/Support/ValueObjects/ModelUuid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Support/ValueObjects/ModelUuid.php -------------------------------------------------------------------------------- /app/Support/ValueObjects/OrderUuid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Support/ValueObjects/OrderUuid.php -------------------------------------------------------------------------------- /app/Support/ValueObjects/ProductStockUuid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Support/ValueObjects/ProductStockUuid.php -------------------------------------------------------------------------------- /app/Support/ValueObjects/ProductUuid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Support/ValueObjects/ProductUuid.php -------------------------------------------------------------------------------- /app/Support/ValueObjects/UserUuid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/Support/ValueObjects/UserUuid.php -------------------------------------------------------------------------------- /app/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/app/User.php -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/artisan -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/babel.config.js -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/bootstrap/app.php -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/composer.lock -------------------------------------------------------------------------------- /config/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/app.php -------------------------------------------------------------------------------- /config/auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/auth.php -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/broadcasting.php -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/cache.php -------------------------------------------------------------------------------- /config/cors.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/cors.php -------------------------------------------------------------------------------- /config/database.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/database.php -------------------------------------------------------------------------------- /config/event-sourcing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/event-sourcing.php -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/filesystems.php -------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/hashing.php -------------------------------------------------------------------------------- /config/logging.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/logging.php -------------------------------------------------------------------------------- /config/mail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/mail.php -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/queue.php -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/services.php -------------------------------------------------------------------------------- /config/session.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/session.php -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/config/view.php -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/database/.gitignore -------------------------------------------------------------------------------- /database/factories/EventFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/database/factories/EventFactory.php -------------------------------------------------------------------------------- /database/factories/UserFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/database/factories/UserFactory.php -------------------------------------------------------------------------------- /database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/database/migrations/2014_10_12_000000_create_users_table.php -------------------------------------------------------------------------------- /database/migrations/2019_08_19_000000_create_failed_jobs_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/database/migrations/2019_08_19_000000_create_failed_jobs_table.php -------------------------------------------------------------------------------- /database/migrations/2020_03_02_083954_create_snapshots_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/database/migrations/2020_03_02_083954_create_snapshots_table.php -------------------------------------------------------------------------------- /database/migrations/2020_03_02_083954_create_stored_events_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/database/migrations/2020_03_02_083954_create_stored_events_table.php -------------------------------------------------------------------------------- /database/migrations/2020_03_31_111656_create_products_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/database/migrations/2020_03_31_111656_create_products_table.php -------------------------------------------------------------------------------- /database/migrations/2020_03_31_133455_create_orders_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/database/migrations/2020_03_31_133455_create_orders_table.php -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/database/seeds/DatabaseSeeder.php -------------------------------------------------------------------------------- /lint-staged.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/lint-staged.config.js -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/netlify.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/package.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/phpunit.xml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/public/.htaccess -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/public/index.php -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /resources/css/staff/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/css/staff/app.css -------------------------------------------------------------------------------- /resources/css/staff/bootstrap.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | 3 | html { 4 | font-size: 14px; 5 | } 6 | -------------------------------------------------------------------------------- /resources/js/staff/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/app.tsx -------------------------------------------------------------------------------- /resources/js/staff/app/products/components/General.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/app/products/components/General.tsx -------------------------------------------------------------------------------- /resources/js/staff/app/products/components/ProductDetails.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/app/products/components/ProductDetails.tsx -------------------------------------------------------------------------------- /resources/js/staff/app/products/components/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/app/products/components/index.tsx -------------------------------------------------------------------------------- /resources/js/staff/app/products/views/Form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/app/products/views/Form.tsx -------------------------------------------------------------------------------- /resources/js/staff/app/products/views/Index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/app/products/views/Index.tsx -------------------------------------------------------------------------------- /resources/js/staff/types/app.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/types/app.d.ts -------------------------------------------------------------------------------- /resources/js/staff/ui/forms/components/FormCard.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/forms/components/FormCard.stories.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/forms/components/FormCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/forms/components/FormCard.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/forms/components/Label.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/forms/components/Label.stories.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/forms/components/Label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/forms/components/Label.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/forms/components/TextInput.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/forms/components/TextInput.stories.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/forms/components/TextInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/forms/components/TextInput.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/forms/components/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/forms/components/index.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/forms/hooks/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/forms/hooks/index.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/forms/hooks/useForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/forms/hooks/useForm.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/forms/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/forms/types.d.ts -------------------------------------------------------------------------------- /resources/js/staff/ui/layout/components/Card.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/layout/components/Card.stories.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/layout/components/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/layout/components/Card.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/layout/components/Spacer.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/layout/components/Spacer.stories.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/layout/components/Spacer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/layout/components/Spacer.tsx -------------------------------------------------------------------------------- /resources/js/staff/ui/layout/components/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/js/staff/ui/layout/components/index.tsx -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/lang/en/auth.php -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/lang/en/pagination.php -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/lang/en/passwords.php -------------------------------------------------------------------------------- /resources/lang/en/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/lang/en/validation.php -------------------------------------------------------------------------------- /resources/views/staff/app.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/views/staff/app.blade.php -------------------------------------------------------------------------------- /resources/views/welcome.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/resources/views/welcome.blade.php -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/routes/api.php -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/routes/channels.php -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/routes/console.php -------------------------------------------------------------------------------- /routes/staff.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-context-demo/HEAD/routes/staff.php -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- 1 |