{"id":21887743,"url":"https://github.com/alexgioffdev/blog","last_synced_at":"2026-04-07T09:32:02.399Z","repository":{"id":259062005,"uuid":"863556203","full_name":"AlexGioffDev/blog","owner":"AlexGioffDev","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-11T16:53:31.000Z","size":1815,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T17:43:33.477Z","etag":null,"topics":["inertiajs","laravel","vuejs3"],"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/AlexGioffDev.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-09-26T13:52:47.000Z","updated_at":"2024-11-11T16:53:34.000Z","dependencies_parsed_at":"2025-01-26T20:35:44.256Z","dependency_job_id":null,"html_url":"https://github.com/AlexGioffDev/blog","commit_stats":null,"previous_names":["alexgioffdev/blog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlexGioffDev/blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexGioffDev%2Fblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexGioffDev%2Fblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexGioffDev%2Fblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexGioffDev%2Fblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexGioffDev","download_url":"https://codeload.github.com/AlexGioffDev/blog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexGioffDev%2Fblog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31508011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["inertiajs","laravel","vuejs3"],"created_at":"2024-11-28T11:12:20.877Z","updated_at":"2026-04-07T09:32:02.379Z","avatar_url":"https://github.com/AlexGioffDev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Blog Project with Inertia.js and Vue.js\n\nWelcome to the **Laravel Blog Project**, a blog application built using **Laravel**, **Inertia.js**, and **Vue.js**. This project features role-based access for managing posts and comments.\n\n## Features\n\n-   **Homepage**: Displays a list of recent blog posts.\n-   **Blog Page**: Accessible to all users where they can read posts and leave comments.\n-   **User Dashboard**: Available only to admins for managing posts and users.\n-   **Role-based Permissions**:\n    -   **Admin**: Can create and manage all posts and users.\n    -   **Moderator**: Can delete comments from any user.\n    -   **User**: Can only delete their own comments.\n\n## Screenshots\n\nHere are some screenshots of the project:\n\n### 1. Home Page\n\n![Home Page](screenshots/home_page.png)\n\nThe main landing page displaying blog posts.\n\n### 2. Blog Page\n\n![Blog Page](screenshots/blog_page.png)\n\nA standard blog post page showing the content and comments. Users can view and interact with comments.\n\n### 3. Blog User Login\n\n![Blog User Login](screenshots/blog_user_login.png)\n\nShows how logged-in users can delete their own comments on blog posts.\n\n### 4. Admin Dashboard\n\n![Dashboard](screenshots/dashboard.png)\n\nThe dashboard where admins can manage posts, users, and roles.\n\n## Installation\n\n1. **Clone the repository**:\n\n    ```bash\n    git clone https://github.com/yourusername/laravel-blog.git\n    cd laravel-blog\n    ```\n\n2. **Install PHP dependencies**:\n\n    ```bash\n    composer install\n    ```\n\n3. **Install JavaScript dependencies**:\n\n    ```bash\n    npm install\n    npm run dev\n    ```\n\n4. **Set up environment variables**:\n   Copy the `.env.example` file to `.env` and configure your database settings:\n\n    ```bash\n    cp .env.example .env\n    php artisan key:generate\n    ```\n\n5. **Run migrations**:\n\n    ```bash\n    php artisan migrate\n    ```\n\n6. **Seed the database** (optional):\n\n    ```bash\n    php artisan db:seed\n    ```\n\n7. **Run the development server**:\n\n    ```bash\n    php artisan serve\n    ```\n\n    Your application will be available at `http://127.0.0.1:8000`.\n\n## Usage\n\n-   **Users** can browse posts and leave comments. They can only delete their own comments.\n-   **Admins** have access to the dashboard to manage posts and user roles.\n-   **Moderators** can delete any user's comments.\n\n## Project Structure\n\n-   **app/Http/Controllers**: Handles requests and returns views via Inertia.\n-   **app/Models**: Defines the `Post`, `Comment`, and `User` models.\n-   **resources/views**: Contains Blade views, primarily for rendering Inertia.js.\n-   **resources/js/Pages**: Contains Vue.js components for each page (e.g., `HomePage.vue`, `BlogPage.vue`, `Dashboard.vue`).\n-   **public/screenshots**: Contains images to illustrate the app.\n\n## License\n\nThis project is open-source and available under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexgioffdev%2Fblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexgioffdev%2Fblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexgioffdev%2Fblog/lists"}