This project is a technical test implementation using Laravel 11, showcasing a basic CRUD application for task management, a library system with books and categories, and user authentication.
- Task Management CRUD
- Book and Category Management with Many-to-Many Relationship
- User Authentication
- API Documentation with Swagger
- Database Seeding for Initial User
- PHP 8.1 or higher
- Composer
- MySQL or compatible database
- Node.js and npm (for frontend assets, if applicable)
- Clone the repository:
git clone https://github.com/imiranda/aloti-laravel-test.git
- Install PHP dependencies:
composer install
- Copy the example environment file and configure it:
cp .env.example .env
Update the .env
file with your database credentials and other configuration settings.
- Generate application key:
php artisan key:generate
- Run database migrations and seeders:
php artisan migrate --seed
- Start the Laravel development server:
php artisan serve
- Access the application at
http://localhost:8000
API documentation is available via Swagger UI. To view the documentation:
- Ensure the application is running
- Visit
http://localhost:8000/api/documentation
in your web browser and look the swagger docs