Description project: Simple blog project using laravel framework to create API and Website UI.
Restful API using Laravel Passport
Tested using Postman
Feature list:
- Register user [POST]
- Login & logout user [POST]
- Create category [POST]
- Create post [POST]
- Read category (all and single category) [GET]
- Read post (all and single post) [GET]
- Update category [PUT/PATCH]
- Update post [PUT/PATCH]
- Delete category [DELETE]
- Delete post [DELETE]
Laravel Blade and Laravel UI
Feature list:
- Laravel UI authentication
- Register & login user
- Forgot password
- CRUD template view of category & post
Website UI
- Register
- Login
- Reset Password (mailtrap)
- Home Dashboard
- All Category (index)
- Create New Category
- Detail Category
- Edit Category
- All Post (index)
- Create New Post
- Detail Post
- Edit Post
Installation of laravel
Go to the documentation link below:
Installation - Laravel - The PHP Framework For Web Artisanshttps://laravel.com › docs › 9.x › installation
Run Project
Run project using command:
php artisan serve
User Seed
- Generate user seed using command:
php artisan migrate:refresh --seed
- Install passport after migrate refresh database
php artisan passport:install
Unit Test
Optionally, you can run unit test on this project using command:
php artisan test