{"id":18325807,"url":"https://github.com/macintoshplus/todo-list-example","last_synced_at":"2025-04-06T00:31:24.089Z","repository":{"id":39159937,"uuid":"255329233","full_name":"macintoshplus/todo-list-example","owner":"macintoshplus","description":"Todo List : Project to demonstrate","archived":true,"fork":false,"pushed_at":"2023-10-05T01:39:24.000Z","size":2214,"stargazers_count":1,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"new_security_feature","last_synced_at":"2025-02-15T09:43:42.276Z","etag":null,"topics":["acceptance-testing","behat","chromedriver","demo","functional-testing","geckodriver","mink","pageobject-pattern","php","symfony","two-factor-authentication"],"latest_commit_sha":null,"homepage":"https://nahan.fr","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/macintoshplus.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-04-13T13:05:24.000Z","updated_at":"2024-10-08T14:04:07.000Z","dependencies_parsed_at":"2023-02-06T12:01:16.580Z","dependency_job_id":null,"html_url":"https://github.com/macintoshplus/todo-list-example","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macintoshplus%2Ftodo-list-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macintoshplus%2Ftodo-list-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macintoshplus%2Ftodo-list-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macintoshplus%2Ftodo-list-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macintoshplus","download_url":"https://codeload.github.com/macintoshplus/todo-list-example/tar.gz/refs/heads/new_security_feature","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419597,"owners_count":20936009,"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":["acceptance-testing","behat","chromedriver","demo","functional-testing","geckodriver","mink","pageobject-pattern","php","symfony","two-factor-authentication"],"created_at":"2024-11-05T19:04:27.770Z","updated_at":"2025-04-06T00:31:22.662Z","avatar_url":"https://github.com/macintoshplus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Todo List : Project to demonstrate\n==================================\n\nThe branch [behat](https://github.com/macintoshplus/todo-list-example/tree/behat) is used to demonstrate the \nusage of Behat with Symfony Page ([[Tutoriel] Test Behat sur un projet Symfony [FR]](https://nahan.fr/tutoriel-test-behat-sur-un-projet-symfony/)).\n\nThe branch [symfony_510](https://github.com/macintoshplus/todo-list-example/tree/symfony_510) is used to demonstrate the new implementation of the Symfony Security component ([Double authentification et Symfony 5.1 [FR]](https://nahan.fr/double-authentification-et-symfony-5-1/)). \n\n# Requirements\n\n* Symfony client\n* Composer\n* PHP 7.4 (ext: sqlite3 + Symfony requirement)\n* Yarn 1.21\n\n# Install\n\nClone this repository or download archive\n\nOpen a terminal and run their following commands:\n\n```shell script\n$ composer install\n$ yarn install\n$ yarn encore dev\n```\n\n# Initialize database\n\nOn the first install, run this command to make a new database: `bin/console doctrine:database:create`\n\nRun all migration to initialize the database (the database is already configured to use SQLite)\n\n\u003e Note: if you have a database from the v1.0.0 run this command: `bin/console doctrine:migrations:sync-metadata-storage`.\n\n```shell script\n$ bin/console doctrine:migration:migrate\n```\n\nOpen the database with your favorite SQLite browser and add a row into the `user` table.\n\nTo define the password, use this command to encode it : `bin/console security:encode-password`\n\n# Use in development environment\n\nRun this command in a console (caution, the console will be busy):\n\n```shell script\n$ symfony serve\n```\n\nOpen the link in your favorite web browser.\n\n# Login\n\nThe login uses a two-factor authentication. When your browser is redirected to code form (after username/password form) read the dump value in the Symfony debug bar.\nThis code is the two-factor code.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacintoshplus%2Ftodo-list-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacintoshplus%2Ftodo-list-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacintoshplus%2Ftodo-list-example/lists"}