{"id":23914850,"url":"https://github.com/alessiochen/laravelblogapi","last_synced_at":"2026-04-13T03:48:43.002Z","repository":{"id":112500145,"uuid":"364518029","full_name":"AlessioChen/LaravelBlogApi","owner":"AlessioChen","description":"Some API's for blog management","archived":false,"fork":false,"pushed_at":"2021-06-05T18:39:54.000Z","size":772,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T10:31:45.118Z","etag":null,"topics":["docker","laravel","mailtrap","mysql","php","postman"],"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/AlessioChen.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":"2021-05-05T09:01:40.000Z","updated_at":"2022-03-10T21:53:04.000Z","dependencies_parsed_at":"2023-05-15T09:45:10.322Z","dependency_job_id":null,"html_url":"https://github.com/AlessioChen/LaravelBlogApi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessioChen%2FLaravelBlogApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessioChen%2FLaravelBlogApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessioChen%2FLaravelBlogApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessioChen%2FLaravelBlogApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlessioChen","download_url":"https://codeload.github.com/AlessioChen/LaravelBlogApi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240364298,"owners_count":19789756,"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":["docker","laravel","mailtrap","mysql","php","postman"],"created_at":"2025-01-05T10:28:35.466Z","updated_at":"2026-04-13T03:48:42.958Z","avatar_url":"https://github.com/AlessioChen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel blog api \n\n### About the project\n\nProject made for Full Stack developer course. \n\n### Requirements\nIt requires the creation of API Rest using Laravel framework that allows the user trhough authentication to add text posts to a feed giving the possibility to tag other users and edit the post itself.\n\n### Endpoints\n\n- Authentication: Login\n- Authentication : Registration\n- Authentication : Logout\n- Feed: List of paged and filterable feed\n- Feed: add new post (Title, Description, User which is associated)\n- Feed: edit post (Title Description, User which is associated)\n- Feed: post Delete\n- Notification list of a tag in a post \n\n### Features\n- Send an email every time a user is tagged in a post\n- Log table for all actions on the posts\n\n### Build With\n- PHP using Laravel as framework\n\n### Getting started\nMake sure to have docker installed in the computer.\n1. Clone the repo\n``` bash\ngit clone https://github.com/AlessioChen/Laravel-blog.git\n```\n2. Lauch these commands to inizialize docker.\n```\n cd Laravel-blog\n docker run --rm -v $(pwd):/app composer install\n```\n3. Create e `.env` file and fill with DB and mailtrap data, you can find an example in `.env.example`\n4. Start the server \n```\n vendor/bin/sail sail up \n```\n\n### Usage \n- To test the endpoints use [postman](https://www.postman.com/).\n- Random data can be seed into the DB with the command\n```\nvendor/bin/sail sail artisan migrate --seed \n```\n- All endpoints can be founded in the `api.php` file for example the login route is\n```\nhttp://localhost/api/v1/login\n```\n\n### Acknowledgements\n\n- [Laravel](https://laravel.com/)\n- [Laravel Sanctum](https://laravel.com/docs/8.x/sanctum)\n- [Docker](https://www.docker.com/)\n- [Mysql](https://www.mysql.com/it/)\n- [Postman](https://www.postman.com/)\n- [Mailtrap](https://mailtrap.io)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falessiochen%2Flaravelblogapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falessiochen%2Flaravelblogapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falessiochen%2Flaravelblogapi/lists"}