{"id":14974462,"url":"https://github.com/odonata95/laravel-angular-boilerplate","last_synced_at":"2025-07-12T14:41:39.384Z","repository":{"id":207368468,"uuid":"125843252","full_name":"odonata95/laravel-angular-boilerplate","owner":"odonata95","description":"Quickstart for Laravel 5.6 + Angular 6.0 projects","archived":false,"fork":false,"pushed_at":"2020-06-07T15:57:20.000Z","size":305,"stargazers_count":34,"open_issues_count":1,"forks_count":18,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T07:51:27.241Z","etag":null,"topics":["angular","angular-cli","angular6","boilerplate","jwt-authentication","laravel","laravel-api","laravel5","template"],"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/odonata95.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,"governance":null}},"created_at":"2018-03-19T10:50:33.000Z","updated_at":"2024-04-27T07:10:09.000Z","dependencies_parsed_at":"2023-11-15T13:37:19.431Z","dependency_job_id":null,"html_url":"https://github.com/odonata95/laravel-angular-boilerplate","commit_stats":null,"previous_names":["odonata95/laravel-angular-boilerplate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/odonata95/laravel-angular-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odonata95%2Flaravel-angular-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odonata95%2Flaravel-angular-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odonata95%2Flaravel-angular-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odonata95%2Flaravel-angular-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odonata95","download_url":"https://codeload.github.com/odonata95/laravel-angular-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odonata95%2Flaravel-angular-boilerplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265004928,"owners_count":23696513,"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":["angular","angular-cli","angular6","boilerplate","jwt-authentication","laravel","laravel-api","laravel5","template"],"created_at":"2024-09-24T13:50:35.976Z","updated_at":"2025-07-12T14:41:39.353Z","avatar_url":"https://github.com/odonata95.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\t\u003cimg src=\"./logo.png\" width=\"400\" alt=\"Laravel + Angular Logo\"/\u003e\n\u003c/div\u003e\n\n# Laravel + Angular Boilerplate\nQuick start for Laravel 5.6 + Angular 6.0 projects with JWT auth.\n\n## Includes:\n\n### Front-end:\n- Angular CLI boilerplate files\n- JWT authentication service\n- Login/Register components (Angular Material)  \n- Password reset components\n\n### Back-end:\n- Composer build file\n- Boilerplate files\n- JWT authentication\n- Password reset functionality\n\n## Server\n- Install [PHP](http://fi2.php.net/downloads.php) and one of the following Databases: [MySQL](https://www.mysql.com/downloads/), [PostgreSQL](https://www.postgresql.org/download/), [MS SQL Server](https://www.microsoft.com/en-us/sql-server/sql-server-downloads) or [SQL Lite](https://www.sqlite.org/download.html).\n\n- Install [Composer](https://getcomposer.org/) and [nodeJS](https://nodejs.org).\n\n- Go to `Server` folder and run `composer install` to install dependencies.\n\n- Set your DB connections in `.env`: DB_CONNECTION (mysql, pgsql, sqlsrv, sqlite), DB_DATABASE, DB_PORT, DB_USERNAME, DB_PASSWORD. For email sending make sure that you have in your .env file next keys set: `MAIL_DRIVER`, `MAIL_HOST`, `MAIL_PORT`, `MAIL_USERNAME`, `MAIL_PASSWORD`, `MAIL_ENCRYPTION`. Fou production build change environment to production: `APP_ENV=production`.\n\n- To update your DB to current version go to `Server` folder and run `php artisan migrate`. If you want to rollback old migration use `php artisan migrate:rollback`.\n- (OPTIONAL) If you want to change `APP_KEY` run `php artisan key:generate` to generate app key. If you get any error on key generation, check if line `APP_KEY=` exists in `.env`, then rerun command. Make sure that apache has access to write into `Server/bootstrap/cache` and `Server/storage` folders.\n\n- (OPTIONAL) If you want to change JWT secret run `php artisan jwt:generate` to generate secret for API.\n\n- In migrations, the default user is created for which username is **\"admin\"** and password is **\"password\"**.\n\n## Client\n- Install [nodeJS](https://nodejs.org)\n\n- Globally install [Angular CLI](https://cli.angular.io/) using command `npm install -g @angular/cli@latest`\n\n- Open *Client* folder in terminal/console and run `npm i` to install all dependencies.\n\n- Add URL to your local server to  `/Client/src/environments/environment.ts`.\n\n- Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n- If you want to generate a new component run `ng generate component component-name`. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n- Run `ng build -prod` in `Client` directory to build angular client. The build artifacts will be stored in the `dist/` directory.\n\n![Screenshot](./img1.jpg)\n\n## License: [MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodonata95%2Flaravel-angular-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodonata95%2Flaravel-angular-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodonata95%2Flaravel-angular-boilerplate/lists"}