Create an LTI provider using React + PHP, with minimal build configuration with opiniontated code formatting using ESlint & Prettier
Typescript support (Work in progress - #19)
Switch to typescript branch to see this base implimented in Typescript
$ mv public/config.php.example public/config.php.example
<?php
$config = array(
'lti_keys'=>array(
'YOUR_CLIENT_KEY'=>'YOUR_CLIENT_SECRET'
),
'use_db'=>true,
'db'=>array(
'dbengine'=>'MySQL',
'hostname'=>'localhost',
'username'=>'root',
'password'=>'root',
'database'=>'test',
'charset'=>'utf8mb4'
),
'jwt_key' => 'JWT_SECRET',
);
?>$ yarn
$ yarn start
Happy Coding! 😄