{"id":15014404,"url":"https://github.com/mahmudhmh/lara-post-blog","last_synced_at":"2025-04-12T08:08:49.064Z","repository":{"id":228046241,"uuid":"773018391","full_name":"mahmudhmh/lara-post-blog","owner":"mahmudhmh","description":"This repository contains the source code for a simple blog built using PHP, Laravel, and MySQL. This blog allows users to create accounts, write posts, and interact with other users' posts through comments.","archived":false,"fork":false,"pushed_at":"2024-03-16T23:26:27.000Z","size":491,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T08:06:23.920Z","etag":null,"topics":["artisan","composer","laravel-framework","mysql","php8","phpunit","tailwindcss","vite"],"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/mahmudhmh.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-16T14:15:40.000Z","updated_at":"2024-07-11T14:24:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef868d4b-b9a4-4fcb-9ec9-5923125ba8a3","html_url":"https://github.com/mahmudhmh/lara-post-blog","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"c0b5be5eddaa2ee611b463895bdff0792f09e832"},"previous_names":["mahmudhmh/lara-post-blog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudhmh%2Flara-post-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudhmh%2Flara-post-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudhmh%2Flara-post-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudhmh%2Flara-post-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahmudhmh","download_url":"https://codeload.github.com/mahmudhmh/lara-post-blog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537137,"owners_count":21120709,"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":["artisan","composer","laravel-framework","mysql","php8","phpunit","tailwindcss","vite"],"created_at":"2024-09-24T19:45:35.412Z","updated_at":"2025-04-12T08:08:49.041Z","avatar_url":"https://github.com/mahmudhmh.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lara Post Blog\n\n## Overview\n\nThis repository contains the source code for a simple blog built using PHP, Laravel, and MySQL. This blog allows users to create accounts, write posts, and interact with other users' posts through comments.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n-   PHP (\u003e= 7.4)\n-   Composer\n-   Laravel (\u003e= 8.0)\n-   MySQL (\u003e= 5.7)\n\n## Installation\n\n1. Clone this repository to your local machine:\n\n```bash\ngit clone https://github.com/mahmudhmh/lara-post-blog.git\n```\n\n2. Navigate into the project directory:\n\n```bash\ncd blog\n```\n\n3. Install dependencies using Composer:\n\n```bash\ncomposer install\n```\n\n4. Configure your environment variables by copying the `.env.example` file to `.env`:\n\n```bash\ncp .env.example .env\n```\n\n5. Generate an application key:\n\n```bash\nphp artisan key:generate\n```\n\n6. Update the `.env` file with your MySQL database credentials.\n\n7. Run the migrations to create the necessary database tables:\n\n```bash\nphp artisan migrate\n```\n\n8. Optionally, seed the database with sample data:\n\n```bash\nphp artisan db:seed\n```\n\n## Usage\n\nTo run the application locally, use the following command:\n\n```bash\nphp artisan serve\n```\n\nThen, navigate to `http://localhost:8000` in your web browser to access the blog.\n\n## Features\n\n-   User Authentication: Users can register, login, and logout.\n-   Create Posts: Authenticated users can create new blog posts.\n-   Commenting: Users can comment on posts.\n-   CRUD Operations: Authenticated users can edit and delete their own posts and comments.\n-   Admin Panel: Administrators have access to a dashboard where they can manage users, posts, and comments.\n\n## Contributing\n\nIf you would like to contribute to this project, please follow these steps:\n\n1. Fork the repository.\n2. Create your feature branch (`git checkout -b feature/your-feature`).\n3. Commit your changes (`git commit -m 'Add some feature'`).\n4. Push to the branch (`git push origin feature/your-feature`).\n5. Open a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Acknowledgements\n\n-   Laravel documentation: [https://laravel.com/docs](https://laravel.com/docs)\n-   PHP documentation: [https://www.php.net/docs.php](https://www.php.net/docs.php)\n-   MySQL documentation: [https://dev.mysql.com/doc/](https://dev.mysql.com/doc/)\n\n## Contact\n\nFor any inquiries or issues, please contact [mahmoudh.buss@gmail.com](mailto:mahmoudh.buss@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmudhmh%2Flara-post-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahmudhmh%2Flara-post-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmudhmh%2Flara-post-blog/lists"}