This project is built with Laravel 11.
Ensure the following prerequisites are met before proceeding with the installation:
PHP 8.2 with the GD extension enabled, MySQL
Follow these steps to set up and run the project:
1.Clone the Repository: git clone https://github.com/touhedul/interview-task.git
2.Navigate to the Project Directory: cd interview-task
3.Install Dependencies: composer install
4.Copy Environment Configuration: Duplicate the .env.example file and rename it to .env.
5.Create a Database: Set up a MySQL database for the project.
6.Set Database Credentials: Configure the .env file with appropriate database credentials.
7.Generate Application Key: php artisan key:generate
8.Run Migrations and Seeders: php artisan migrate --seed
9.Create Symbolic Link for Storage: php artisan storage:link
10.Serve the Application: php artisan serve
1.Open a new terminal window and execute: npm install
2.Compile Frontend Assets: npm run dev
To run only the Unit tests: php artisan test --filter Unit
To run all the tests: php artisan test