escolalms/topic-type-project

Escola Headless LMS Topic Type Project

Maintainers

👁 qunabu

Package info

github.com/EscolaLMS/Topic-Type-Project

Type:package

pkg:composer/escolalms/topic-type-project

Statistics

Installs: 6 121

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 1

0.1.0 2024-02-16 11:52 UTC

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 4c0f6dbd1038ffff9b93c8d9adc70122cd372aab

  • Maciej Rymarz <maciej.rymarz.woop@escolasoft.com>

README

👁 swagger
👁 codecov
👁 phpunit
👁 downloads
👁 downloads
👁 downloads
👁 Maintainability

What does it do

This package is another TopicType. It allows students to upload their solutions as files. This type is used for building headless Course.

The package by default grants students permissions to add and view their own solutions within the course. Administrators have permissions to display the list of all student solutions, as well as to download and delete them.

Installing

  • composer require escolalms/topic-type-project
  • php artisan migrate
  • php artisan db:seed --class="EscolaLms\TopicTypeProject\Database\Seeders\TopicTypeProjectPermissionSeeder"

Endpoints

The endpoints are defined in 👁 swagger

Tests

Run ./vendor/bin/phpunit to run tests. Test details 👁 codecov

Events

  • ProjectSolutionCreatedEvent - This event is dispatched when the user has uploaded a solution

You can use the escolalms/templates-email package, which listens to this event and sends an email.

Listeners

This package does not listen for any events.

Permissions

Permissions are defined in seeder.