{"id":22834820,"url":"https://github.com/heshamadel0007/loginsystem","last_synced_at":"2026-04-13T04:05:30.312Z","repository":{"id":266477650,"uuid":"898468064","full_name":"HeshamAdel0007/LoginSystem","owner":"HeshamAdel0007","description":"Login System SPA application with Multiple Authentication Guard use Laravel \u0026 Nextjs","archived":false,"fork":false,"pushed_at":"2024-12-04T13:13:57.000Z","size":1066,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T07:46:07.443Z","etag":null,"topics":["api","authentication","axios","environment","javascript","laravel","mysql","nextjs","nodejs","php","react","singlepageapplication","sunctum","tailwindcss"],"latest_commit_sha":null,"homepage":"","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/HeshamAdel0007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-12-04T12:58:18.000Z","updated_at":"2024-12-04T13:16:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a8ecb0f-1630-4fcb-aa79-5904fdfc10fa","html_url":"https://github.com/HeshamAdel0007/LoginSystem","commit_stats":null,"previous_names":["heshamadel0007/loginsystem"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeshamAdel0007%2FLoginSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeshamAdel0007%2FLoginSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeshamAdel0007%2FLoginSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HeshamAdel0007%2FLoginSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HeshamAdel0007","download_url":"https://codeload.github.com/HeshamAdel0007/LoginSystem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246408101,"owners_count":20772228,"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":["api","authentication","axios","environment","javascript","laravel","mysql","nextjs","nodejs","php","react","singlepageapplication","sunctum","tailwindcss"],"created_at":"2024-12-12T22:07:34.607Z","updated_at":"2026-04-13T04:05:30.273Z","avatar_url":"https://github.com/HeshamAdel0007.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## LoginSystem SPA application with Multiple Authentication Guard\n\n\u003e Laravel v11.34.2\n\u003e NextJS v15.0.3\n\n## About Projects\n\nLoginSystem is a SPA application Build By Laravel \u0026 Nextjs.\nuse Laravel Framework to handel back-en processing.\nand use Nextjs to handel client side processing.\n\n- in this project use Multiple Authentication Guard\n\n## Guards\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003cth\u003eGuardName\u003c/th\u003e\n        \u003cth\u003eModel\u003c/th\u003e\n        \u003c/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e \n            \u003ctd\u003eadmin\u003c/td\u003e\n            \u003ctd\u003eAdmin\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e \n            \u003ctd\u003epublisher\u003c/td\u003e\n            \u003ctd\u003ePublisher\u003c/td\u003e\n        \u003c/tr\u003e\n         \u003ctr\u003e \n            \u003ctd\u003ecustomer\u003c/td\u003e\n            \u003ctd\u003eCustomer\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Installation\n\n### 1. Downloade Project\n\nRun this at the command line:\n\n```bash\ngit clone git@github.com:HeshamAdel0007/LoginSystem.git\n```\n\n### 2. Install Laravel\n\n```bash\nComposer install\n```\n\n- Create a New .env File\n\n- Could Copy From Existing .env.example, Update Relevant Settings (DB_DATABASE, DB_USERNAME,.....)\n\n- add your url front-end \u0026 back-end\n  \n```bash\nAPP_URL=your_back-end_url\nFRONTEND_URL=your_front-end_url\nSESSION_DOMAIN=your_back-end_url/,your_front-end_url/\nSANCTUM_STATEFUL_DOMAINS=your_back-end_url/,your_front-end_url/\n```\n\n- Generate App Encryption Key\n\n```bash\nphp artisan key:generate\n```\n\n- Migrate The DataBase\n\n```bash\nphp artisan migrate\n```\n\n- Migrate The Seeder\n\n```bash\nphp artisan db:seed\n```\n\n```bash\nphp artisan optimize:clear\n```\n\n### 2. Install Next Dashboard\n\n1. go to file front-end and make this steps\n   \n- change file .env.example to .env\n  \n- in file env add your back-end url\n  \n```bash\nBACKEND_URL=your_back-end_url\n```\n1. run this command\n\n```bash\nnpm insatll\n```\n```bash\nnpm run dev\n```\n\n## Features\n\n- Multiple Authentication Guard\n\n## Users\n\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003cth\u003eUser\u003c/th\u003e\n        \u003cth\u003eEmail\u003c/th\u003e\n        \u003cth\u003ePassword\u003c/th\u003e\n        \u003c/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e \n            \u003ctd\u003eAdmin\u003c/td\u003e\n            \u003ctd\u003eadmin@admin.com\u003c/td\u003e\n            \u003ctd\u003epassword\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e \n            \u003ctd\u003epublisher\u003c/td\u003e\n            \u003ctd\u003epublisher@publisher.com\u003c/td\u003e\n            \u003ctd\u003epassword\u003c/td\u003e\n        \u003c/tr\u003e\n         \u003ctr\u003e \n            \u003ctd\u003eCustomer\u003c/td\u003e\n            \u003ctd\u003ecustomer@customer.com\u003c/td\u003e\n            \u003ctd\u003epassword\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Package \u0026 Tools Used\n\n- **LaravelSanctum** v4.0.5\n\n## Connect With Me\n\n[\u003cimg src=\"https://github.com/HeshamAdel007/HeshamAdel007/blob/master/Assets/Gmail.svg\" alt=\"Gmail logo\" style=\"width: 25px;margin-left: 10px;margin-right: 5px;\"\u003e](mailto:heshamadel528@gmail.com) [\u003cimg src=\"https://github.com/HeshamAdel007/HeshamAdel007/blob/master/Assets/Linkedin.svg\" alt=\"Linkedin Logo\" style=\"width: 25px;margin-left: 5px;margin-right: 5px;\"\u003e](https://in.linkedin.com/in/heshamadel000)\n\n\u003c/p\u003e\n\n## License\n\nThe Project licensed under the [MIT license](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheshamadel0007%2Floginsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheshamadel0007%2Floginsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheshamadel0007%2Floginsystem/lists"}