0% found this document useful (0 votes)
13 views

Laravel - Vue - Js Code Test 2

The document provides instructions for a code test for a Laravel developer position at Perky Rabbit Corporation. Candidates are asked to build a backend API using Laravel with user authentication, models for employees, departments, achievements, and relationships between them. They also must build a Vue.js frontend with authentication views, an employee datatable with filtering and pagination, and a dynamic form to add/edit employees and their associated data. Candidates should submit their code on GitHub along with setup instructions and ensure it follows best practices and is well organized.

Uploaded by

2201081077
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Laravel - Vue - Js Code Test 2

The document provides instructions for a code test for a Laravel developer position at Perky Rabbit Corporation. Candidates are asked to build a backend API using Laravel with user authentication, models for employees, departments, achievements, and relationships between them. They also must build a Vue.js frontend with authentication views, an employee datatable with filtering and pagination, and a dynamic form to add/edit employees and their associated data. Candidates should submit their code on GitHub along with setup instructions and ensure it follows best practices and is well organized.

Uploaded by

2201081077
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Perky Rabbit Corporation Limited www.perkyrabbit.

com
Unit 702, Venus Complex, Kha-199/3, 199/4, [email protected]
Progati Sharani, Middle Badda, Dhaka 1212 +8802226600473

Code Test (Laravel)

Recruitment Ref. No.: PR/LT/CTLR/165 Deadline: 20/12/2023, 12:00 PM

Backend (Laravel)

1. Create a new Laravel project using the latest version.


2. Implement user authentication with the required fields (email and password).
3. Create a migration for an "employees" table with the following fields (id, name, email, phone,
address)
4. Create a migration for a "departments" table with the following fields (id, name)
Establish a one-to-many relationship between departments and employees.
5. Create a migration for an "achievements" table with the fields (id, name)
Establish a many-to-many relationship between employees and achievements.
6. Create a migration for the pivot table "achievement_employee" with fields (id, achievement_id,
employee_id, achievement_date).
Implement controllers to:
• List all employees with their department and achievements.
• Create a new employee with department and achievements assignment.
• Update an employee's information, department and achievements.
• Delete an employee.

Frontend (Vue.js):

1. Implement user authentication views (login, register, dashboard) using Vue.js components.
2. Create a Vue.js component for datatable to display a list of employees. Each employee should show
their name, email, phone, address, department, and achievements.
• Add pagination to the employee list.
• Implement filtering options for the employee list.
3. Implement a dynamic form in Vue.js for adding employees. The form should include fields for
employee details (name, email, phone, address), department selection, and dynamic add row
functionality for addition/removal of achievements. And also when assigning achievements to an
employee, it should be possible to insert achievement_date.

Submission:
Please provide a GitHub repository link containing your Laravel and Vue.js code. Include clear
instructions on how to set up and run the project. Ensure that the project is well-organized, follows best
practices. And lastly, send your code test answers to [email protected]

Note:
You can use separate projects for frontend and backend if you want or work with Vue integration with
Laravel. If you have any questions, feel free to reach out to us.
Career Perky Rabbit Contact Information:
Contact No.: 01886000819
Email: [email protected]

Code Test For the Position of Laravel Developer

You might also like