Welcome to our technical test that was solved by Alvaro Iporre.
The goal of this test is to know the skill level of the Web App Developer Candidate in the following topics:
- Problem solving, analysis skills and solution proposals.
- Standards, Coding Conventions and Best Practices.
- Front End development: AJAX, UI/UX, HTML, CSS, Javascript, Front End frameworks and libraries
- Back End development: Data Structures, OOP, Design Patterns.
- English comprehension.
- Backend: Laravel 8.x
- Frontend: React 17.x & Tailwindcss
Before starting the test, make sure you have the following tools installed on your system:
- Node.js (version 12.x or higher)
- npm (usually installed with Node.js)
- Composer (for installing Laravel dependencies)
- PHP (version 7.4 or higher)
Here's the text you can use for your README.md:
markdown Copy code
- Clone this repository to your local machine.
- Navigate to the backend directory (
backend/
). - Run
composer install
to install PHP dependencies. - Start the development server with
php artisan serve
. The server will run by default athttp://localhost:8000
.
- URL:
http:/localhost:8000/api/v1/solve/{id}
- id: Is the number of problem
- Method: POST
-
Send a POST Request: Use a tool like Postman, or your preferred programming language's HTTP client to send a POST request to the provided URL.
-
Request Body:
- The request body should contain the input data in string format, wich required for solving problem
id
.
- The request body should contain the input data in string format, wich required for solving problem
-
Response:
- Upon receiving the request, the API will process the input data and generate a response in json format with the following format {"output": "{solution_for_input}"}.
- Navigate to the frontend directory (
frontend/
). - Run
npm install
to install Node.js dependencies. - Set the
API_URL
in the.env
file and copy your backend api url by defaulthttp://localhost:8000/api/v1
. - Start the development server with
npm run dev
. The server will run by default athttp://localhost:5173
. - The page to solve the problem-1 will be
http://localhost:5173/problem-1
- The page to solve the problem-2 will be
http://localhost:5173/problem-2
Good luck and have fun developing!