{"id":16993689,"url":"https://github.com/mathiiii-dev/phonebook-kata","last_synced_at":"2026-04-13T01:13:11.205Z","repository":{"id":135961665,"uuid":"469094041","full_name":"mathiiii-dev/phonebook-kata","owner":"mathiiii-dev","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-13T21:29:09.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T06:13:28.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathiiii-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-12T13:43:05.000Z","updated_at":"2022-03-12T14:01:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad079481-b58b-40e1-9f46-0fa99f8340d9","html_url":"https://github.com/mathiiii-dev/phonebook-kata","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/mathiiii-dev%2Fphonebook-kata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiiii-dev%2Fphonebook-kata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiiii-dev%2Fphonebook-kata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiiii-dev%2Fphonebook-kata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathiiii-dev","download_url":"https://codeload.github.com/mathiiii-dev/phonebook-kata/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244909804,"owners_count":20530291,"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":[],"created_at":"2024-10-14T03:43:46.183Z","updated_at":"2026-04-13T01:13:06.179Z","avatar_url":"https://github.com/mathiiii-dev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phonebook kata\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine if you want to test it or develop something on it.\n\n## Installing\n\nFollow those steps to make the project run on your machine\n\nClone the project :\n```\ngit clone https://github.com/mathiiii-dev/phonebook-kata.git\n```\n\n## Backend\n\nInstall composer dependencies :\n```\ncd backend\n```\n```\ncomposer require\n```\n\n### Database\n\nFirst edit .env (or create a .env.local to override it) with your database credentials : \n```\nDATABASE_URL=\"mysql://root:@127.0.0.1:3306/phonebook?serverVersion=5.7\"\n```\n\nCreate the database :\n```\nphp bin/console doctrine:database:create\n```\n\nUpdate schema :\n```\nphp bin/console doctrine:schema:update --force\n```\n\n### Launch backend\n\nUsing Symfony CLI :\n```\nsymfony serve\n```\n\nor :\n```\nphp bin/console server:start\n```\n\n## Frontend\n\nInstall dependencies :\n```\ncd frontend\n```\n```\nnpm i\n```\n\n### Launch frontend\n\n```\nnpm run dev\n```\n\n### CORS\nTo avoid cors problem you can run :\n\n```\nlcp --proxyUrl http://127.0.0.1:8000\n```\n\n### API Environment Variables \n\nChange your API Environment Variables in the next.config.js to your api url\n\n```javascript\nmodule.exports = {\n  env: {\n    api: 'my-api-env',\n  },\n}\n```\n\n## Built With\n\n* [Symfony](https://symfony.com/) - Framework PHP\n* [NextJS](https://symfony.com/doc/current/testing.html) - Frontend framework\n* [react-bootstrap](https://symfony.com/) - API Documentation\n\n## Authors\n\n* **Mathias Micheli** - *Student* - [Github](https://github.com/mathiiii-dev)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathiiii-dev%2Fphonebook-kata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathiiii-dev%2Fphonebook-kata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathiiii-dev%2Fphonebook-kata/lists"}