{"id":24613167,"url":"https://github.com/pfieffer/laravelblogapp","last_synced_at":"2026-05-14T05:31:29.641Z","repository":{"id":37530565,"uuid":"106112507","full_name":"pfieffer/LaravelBlogApp","owner":"pfieffer","description":"Laravel Blog Web App and API for authentication and blog CRUD.","archived":false,"fork":false,"pushed_at":"2022-12-07T07:51:15.000Z","size":3688,"stargazers_count":1,"open_issues_count":17,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T17:25:20.195Z","etag":null,"topics":["api","authentication","ckeditor","laravel","laravel-blog","mysql","passport","php"],"latest_commit_sha":null,"homepage":"https://stark-cove-11076.herokuapp.com/","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/pfieffer.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":"2017-10-07T16:25:18.000Z","updated_at":"2020-11-23T22:08:00.000Z","dependencies_parsed_at":"2023-01-23T21:00:14.089Z","dependency_job_id":null,"html_url":"https://github.com/pfieffer/LaravelBlogApp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pfieffer/LaravelBlogApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfieffer%2FLaravelBlogApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfieffer%2FLaravelBlogApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfieffer%2FLaravelBlogApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfieffer%2FLaravelBlogApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pfieffer","download_url":"https://codeload.github.com/pfieffer/LaravelBlogApp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfieffer%2FLaravelBlogApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33012270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","authentication","ckeditor","laravel","laravel-blog","mysql","passport","php"],"created_at":"2025-01-24T20:49:33.248Z","updated_at":"2026-05-14T05:31:29.624Z","avatar_url":"https://github.com/pfieffer.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blog App\n\u003e Laravel blog app.\n\u003e Note: This is a \u003cstrong\u003eWIP\u003c/strong\u003e Repository.\n\n## Setup :\n\n* Type `git clone https://github.com/pfieffer/LaravelBlogApp.git` or `git clone git@github.com:pfieffer/LaravelBlogApp.git` to clone the repository.\n* CD to `LaravelBlogApp`\n* Type `composer install`\n* Type `composer update`\n* Copy *.env.example* to *.env*\n* To use MySQL database, set the following in *.env* file :\n   * set DB_CONNECTION\n   * set DB_DATABASE\n   * set DB_USERNAME\n   * set DB_PASSWORD\n* Run DB migrations and seeders:  Type `php artisan migrate --seed` to create and populate tables. This will seed the datbase with some sample posts and a user. (User Credentials: email: *test@test.com*, password: *test@123*)\n* Run `php artisan key:generate` to generate application keys.\n* Run `php artisan passport:install` to setup Passport for api authentication.\n* You may need to run `php artisan storage:link` to see the blog post images.\n* Also do put an image file with name `noimage.jpg` inside `storage/app/public/cover_images/` directory.\n\n## See api in action:\n\n* Open your favorite REST client like POSTMAN or insomnia.\n* `GET` request on `\u003clocalhosts_or_your_ip_address_and_port\u003e/api/v1/allposts` to see all posts \n* `POST` request on `\u003clocalhosts_or_your_ip_address_and_port\u003e/api/v1/login` with the following JSON body:\n```\n{\n\t\"email\":\"test@test.com\",\n\t\"password\":\"test@123\"\n}\n```\n* After the login, you will obtain an `api_token` which you can use to CRUD the post from api. \n* An example is to see all the post for a user: `GET` request to `\u003clocalhosts_or_your_ip_address_and_port\u003e/api/v1/posts` with a `Authorization` header having value `Bearer \u003capi_token_obtained_on_loggin_in\u003e`\n\n#### Some screenshots of the app:\n\n![Home page](Screenshots/Capture.PNG?raw=true)\n\n![Login page](Screenshots/Capture2.PNG?raw=true)\n\n![All Posts](Screenshots/AllPosts.PNG?raw=true)\n\n![Create new Post](Screenshots/CreatePost.PNG?raw=true)\n\n![Dashboard](Screenshots/Dashboard.PNG?raw=true)\n\n![APIposts](Screenshots/APIposts.PNG?raw=true)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfieffer%2Flaravelblogapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfieffer%2Flaravelblogapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfieffer%2Flaravelblogapp/lists"}