laravel.md

Course creators: member portal using Laravel

Summary

A member portal blueprint for course creators built with Laravel on Ample. Domain schema:

Infrastructure requirements

Prerequisites

Exact tested configuration

Steps

  1. Model the course creators domain. Create the tables course_groups, memberships, sessions, materials, document_access.

  2. Workflow step 1. Model groups, memberships and roles

  3. Workflow step 2. Authorize access to materials by membership and role (401, 403 negative tests)

  4. Workflow step 3. Store materials in the private bucket and stream them through the app

  5. Workflow step 4. Deploy and verify the negative tests and an authorized download

    ample deploy . --name <app-name> --public --env S3_ENDPOINT=... --env S3_REGION=... --env S3_BUCKET=... --env S3_ACCESS_KEY_ID=... --env S3_SECRET_ACCESS_KEY=...
    
  6. Verify. Run the pattern self-test(s) from the example (/p/private-document-library) and your own acceptance checks for the course creators workflow.

    ample logs <deployment_id> --kind build
    

Tested examples

Success checks

Limitations