PHP/Laravel Developer for Long-Term Full-Time Role

Job ID: 38766800

Budget: $10 – $30 USD

Please read job description carefully before bid.
Now it is the prototype for future projects, so. It is important to have full functionalities on it. It will be an opportunity to prove your abilites.
For a capable Laravel developer, this would be a very easy task and I think you could submit your results to me within a day.
note : No Design for it. Don't ask about that. All is your decision.
Objective:
Develop a web application that demonstrates proficiency in backend (PHP/Laravel) and frontend (HTML, CSS, JavaScript) development, including database interactions, RESTful API design, and user authentication. This task should showcase your ability to handle secure API calls, manage user sessions, and implement basic CRUD operations.

Requirements:

Frontend Development

Login Page:
Design a simple login form using HTML and CSS.
Implement client-side validation using JavaScript.
Use JavaScript to make an API call to authenticate the user.

Order Display Page:
After successful login, redirect to a page that displays a table of orders.
Use JavaScript to fetch data from the backend API, potentially using React for state management if desired.
Implement pagination where only 5 orders assigned to this specific user are shown per page, with the ability to load more orders (either infinite scroll or manual pagination). Must have at least 2 pages.
Implement an “Add Order” table that would be visible only for admin logged in users with ability to add manual orders to any of the existing users.

Backend Development:

Authentication API:
Create a PHP endpoint for user login.
Validate user inputs in the PHP code.
Validate user credentials against a database.

Order Management API:
Develop a RESTful API in PHP to create orders – ONLY for admins, done on the Order Display Page.
Develop a RESTful API in PHP to fetch orders.
Ensure API endpoints are secure; only authenticated users should access them.
Use a database to store and retrieve order data (you can mock the data or use a real database).

Database:
Design a simple database schema for users and orders.
Use SQL for database operations.

Security Considerations:
Use prepared statements or ORM to prevent SQL injection.
Ensure passwords are hashed and salted in the database.
Implement API authentication and other security measurements. E.g. token-based authentication (e.g., JWT), API signatures based on parameter values, reCaptcha, or Cloudflare Turnstile, CSRF etc. for subsequent API calls.

Testing:
Provide unit tests for your backend API endpoints.
Include a simple test case for frontend functionality (e.g., login success/failure).


Deliverables:

Source code for both frontend and backend.
Database schema (if applicable).
A brief explanation of the security measures implemented.

Bonus Points:

Use React for the frontend with state management for a more dynamic user experience.
Mobile/iPad/PC responsiveness.
API request counter with the total request count shown in each API response over the last 1 day and 1 week. This has to be based on the logged in user that is making the API request and resource endpoint it is requesting (if applicable).

Evaluation Criteria:

Functionality: Does the application work as described?
Security: How well are security concerns addressed?
Code Quality: Readability, efficiency, and best practices.
User Experience: How intuitive and responsive is the frontend?
API Design: How well does the API follow RESTful principles?


If you possess a strong background in full-stack development and are passionate about building secure web applications, we want to hear from you! Please showcase your previous work, especially projects that reflect similar requirements.

Join us in making a user-friendly and secure application that meets real-world needs!

It would be the first task for more projects. Thanks for your bidding.
Related categories: PHP JavaScript CSS HTML Laravel