{"id":21527369,"url":"https://github.com/mickgeek/symfony-react-restful-boilerplate","last_synced_at":"2025-07-17T18:04:56.214Z","repository":{"id":28105259,"uuid":"116287163","full_name":"mickgeek/symfony-react-restful-boilerplate","owner":"mickgeek","description":"Symfony 4 + React (with Flow, Redux, Bootstrap 4 and other stuff) + JWT implementation + PostgreSQL","archived":false,"fork":false,"pushed_at":"2023-01-25T09:56:28.000Z","size":862,"stargazers_count":28,"open_issues_count":21,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T01:24:15.789Z","etag":null,"topics":["bootstrap","flow","javascript","jwt","php","postgresql","react","redux","symfony"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mickgeek.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":"2018-01-04T17:15:13.000Z","updated_at":"2024-12-29T16:24:49.000Z","dependencies_parsed_at":"2023-02-14T06:31:34.209Z","dependency_job_id":null,"html_url":"https://github.com/mickgeek/symfony-react-restful-boilerplate","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/mickgeek%2Fsymfony-react-restful-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickgeek%2Fsymfony-react-restful-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickgeek%2Fsymfony-react-restful-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickgeek%2Fsymfony-react-restful-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mickgeek","download_url":"https://codeload.github.com/mickgeek/symfony-react-restful-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248130353,"owners_count":21052733,"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":["bootstrap","flow","javascript","jwt","php","postgresql","react","redux","symfony"],"created_at":"2024-11-24T01:48:41.956Z","updated_at":"2025-04-09T23:34:46.402Z","avatar_url":"https://github.com/mickgeek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony-React RESTful Boilerplate\n\nA boilerplate with two separated applications: RESTful API (created through the Symfony 4 PHP framework) and SPA (the React JavaScript library respectively).\nIt contains a user implementation with advanced functions suitable for most projects. The following features are included:\n\n- JWT authentication\n- Registration\n- Account management\n- Confirmation via email (password reset, account activation, email change)\n- Administrative interface\n\nThe main components of the Symfony part:\n\n- Annotations (FrameworkExtraBundle)\n- Doctrine\n- Doctrine Migrations\n\nThe main components of the React part:\n\n- Webpack\n- Babel (ES6+ and JSX)\n- Hot Module Replacement\n- Flow\n- ESLint\n- Redux\n- Bootstrap 4\n\n## Installation\n\n### Symfony\n\n1. Install application dependencies:\n```bash\ncomposer install\n```\n2. Configure parameters in the `config/packages/doctrine.yaml` and `.env` files according to your needs.\n3. Generate secret keys for JWT:\n```bash\nphp bin/console lexik:jwt:generate-keypair\n```\n4. Create the database:\n```bash\nphp bin/console doctrine:database:create\n```\n5. Create the schema migration and migrate it:\n```bash\nphp bin/console doctrine:migrations:diff\nphp bin/console doctrine:migrations:migrate\n```\n6. Create a super administrator:\n```bash\nphp bin/console app:create-super-admin email@example.com password\n```\n\n### React\n\n1. Install application dependencies:\n```bash\nyarn install\n```\n2. Generate library definitions for dependencies (use this command when you add new third-party libraries into your code):\n```bash\nyarn run flow-typed install\n```\n3. Change URLs in the `src/constants/callConstants.js` file on your own way.\n4. Run the application in a development mode:\n```bash\nyarn run start\n```\n\n## Commands\n\n### Symfony\n\n- `php bin/console list` - lists all available commands\n\n### React\n\n- `yarn run start` - starts a development server that provides live reloading\n- `yarn run build` - launches a build process for a production\n- `yarn run flow` - runs the Flow library\n- `yarn run lint` - runs the ESLint library\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmickgeek%2Fsymfony-react-restful-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmickgeek%2Fsymfony-react-restful-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmickgeek%2Fsymfony-react-restful-boilerplate/lists"}