This project is a technical test that demonstrates a basic Laravel application using the MVC (Model-View-Controller) architecture.
In this task, you are required to develop a program using the Laravel framework to consume the API "https://run.mocky.io/v3/ce47ee53-6531-4821-a6f6-71a188eaaee0" and display user data in a paginated table.
The program should perform the following steps:
- Consume the provided API endpoint to retrieve user data.
- Implement pagination logic to display a limited number of users per page.
- Display the user data in a paginated table, showing the user ID, name, age and email.
- Provide navigation links to allow users to navigate between pages.
- Use a CSS framework (tailwindcss) to enhance the appearance of the table and pagination controls.
- Clone the repository or download the source code.
- Ensure that you have Composer installed.
- Run
composer install
to install the project dependencies. - Create a copy of the
.env.example
file and rename it to.env
. - Generate an application key by running
php artisan key:generate
.
Explain how to run and use the project. Provide any necessary instructions or steps to follow.
- Start the Laravel development server:
./vendor/bin/sail up
. - Access the application in your web browser by visiting
http://localhost:80
(or the specified URL).
This project is licensed under the MIT License.