{"id":22289485,"url":"https://github.com/trgiangdo/ttf","last_synced_at":"2026-04-10T15:52:46.785Z","repository":{"id":37560944,"uuid":"262753569","full_name":"trgiangdo/ttf","owner":"trgiangdo","description":"Test Toeic Free website: powered by Laravel 7.8.1 and Vue 2.6.11","archived":false,"fork":false,"pushed_at":"2023-01-06T05:28:34.000Z","size":8151,"stargazers_count":0,"open_issues_count":27,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T18:43:52.934Z","etag":null,"topics":["laravel","ml5js","php","vue"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trgiangdo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-10T09:34:28.000Z","updated_at":"2020-12-13T12:51:20.000Z","dependencies_parsed_at":"2023-02-05T10:31:48.839Z","dependency_job_id":null,"html_url":"https://github.com/trgiangdo/ttf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trgiangdo%2Fttf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trgiangdo%2Fttf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trgiangdo%2Fttf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trgiangdo%2Fttf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trgiangdo","download_url":"https://codeload.github.com/trgiangdo/ttf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245543969,"owners_count":20632750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","ml5js","php","vue"],"created_at":"2024-12-03T17:09:15.475Z","updated_at":"2025-12-30T23:25:36.343Z","avatar_url":"https://github.com/trgiangdo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"**_This project is currently in development._**\n\n## Boost up the website\n\nFirst, you need to create all neccessary tables with seeder\n```shell\nphp artisan migrate --seed\n```\nUserSeeder will create 13 users, with 3 first users are admin@gmail.com, editor@gmail.com, user@gmail.com, the rest are all random users.\n\nFront-end for /exam/create and /exam/{exam}/edit are built on Vue. If you change anything, make sure to run\n```shell\nnpm run dev\n```\nor\n```shell\nnpm run watch\n```\n\n## Folder structure\n\n- resources/views:\n    - auth: Laravel's authentication, contain login, register ... pages use in UserController\n    - components: contains master layout and orther components\n    - exam: contains exams pages used in ExamController\n    - homepage: contains homepage and other pages in IndexController pages\n    - users: contains pages for admin to update users role in UserController@edit-update\n\n- resources/lang: Contains language packages  // need to translate\n    - en: English\n    - vn: Vietnamese\n\n- resources/js: Contains Vue components\n    - create_exam.js, edit_exam.js: main components\n    - components: contains childrens components\n    \u003e Whenever create new main components, you need to update webpack.mix.js to compile Vue to js file place in *public* folder\n\n- storage/app/public: public files, access by call asset in php files or *app_url*/*relative path to resource file*\n\n- database/factories: Contain Laravel's factories to create dummy data for seeder; read [Laravel Factories Document](https://laravel.com/docs/7.x/database-testing#generating-factories)\n\n- database/seeds: Contain seeder when run \u003ccode\u003ephp artisan migrate --seed\u003c/code\u003e or \u003ccode\u003ephp artisan db:seed --class=*seeder_name*\u003c/code\u003e; read [Laravel Seeder Document](https://laravel.com/docs/7.x/seeding#writing-seeders)\n\n- app/Http/Controllers: Contain all app's controllers\n\n- app/User-Exam-Score: Main model\n\n- app/User/...: User's children models that belongs to User\n\n- app/Exam/...: Exam's children models that belongs to Exam\n\n- app/Policies: App's policies to protect methods; read [Laravel Policies Document](https://laravel.com/docs/7.x/authorization#creating-policies)\n\n- app/Requests: Contains request file to validate form request; read [Laravel Validation Document](https://laravel.com/docs/7.x/validation#creating-form-requests)\n\n## TODO\n\n- Validate data when create new exam using AJAX\n- Rewrite the exam page using Vue, shuffle Part 5 6 7 questions and answers\n- Change user's skill tracking when he finished one exam\n- Recommend a suitable custom exam for user base on his skill\n- Determine difficulty level of a question type base\n- Password reset\n- Add a way for user to update their information or delete the account\n\n## License\n\nThis is an open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrgiangdo%2Fttf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrgiangdo%2Fttf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrgiangdo%2Fttf/lists"}