This is a rest API for a blog with comment crud and user management built with Laravel 11.
- The authentication is handled by Laravel sanctum.
- File upload uses amazon s3
- There are feature tests for all auth endpoints written with Pest PHP.
- Clone the project
git clone https://link-to-project- Go to the project directory
cd my-project- Install composer dependencies
composer install-
Set up an empty database on your database management system, set the necessary config values in your .env
-
Run migrations
php artisan migrate- Start the server
php artisan serveThe postman documentation for the endpoints can be found here -