Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Laravel/PHP Tech Test - Random Cat Pictures Website

Random Cat Pictures

Laravel_Tech_Test.mp4

Welcome to my Laravel/PHP tech test project! In a day and a half, I have created a basic website that handles authentication and displays random cat pictures using a RESTful API. This project was a great opportunity for me to discover Laravel!

Table of Contents Introduction Installation Features Technologies Used Screenshots Improvements and Future Work Introduction The purpose of this project was to build a simple web application using Laravel/PHP that incorporates authentication features and fetches random cat pictures from a REST API. During the day and a half of development, I made sure to keep the code clean and maintainable, and I focused on achieving the core functionalities effectively.

Installation To run this project locally, please follow these steps:

// Downloaded Docker desktop

curl -s "https://laravel.build/example-app" | bash

cd example-app

./vendor/bin/sail up


git init git add . git commit -m "Initial commit" git remote add origin https://github.com/stevenlegere/laravel-PHP.git git push -u origin master


composer require laravel/breeze --dev

php artisan breeze:install blade

php artisan migrate npm install npm run dev


http://localhost/register http://localhost/login


User Authentication: Users can register, login, and logout from the website. Random Cat Pictures: Authenticated users can view random cat pictures fetched from a REST API. Clean and Responsive UI: The user interface is designed with CSS to be user-friendly and responsive across devices. Technologies Used The project leverages the following technologies:

Laravel: A popular PHP framework known for its expressive syntax and robust features. PHP: The primary programming language used in the Laravel framework. CSS: For styling and designing the website, providing an attractive and responsive layout. REST API: Used to fetch random cat pictures from an external source. Composer: To manage the project's dependencies. Screenshots Here are some screenshots of the application:


Screenshot 2023-07-18 at 14 40 49 ------------------------------- Screenshot 2023-07-18 at 14 41 03 ------------------------------- Screenshot 2023-07-19 at 12 35 37 ------------------------------- Screenshot 2023-07-19 at 13 10 37 ------------------------------- Screenshot 2023-07-19 at 12 28 40 -------------------------------

Improvements and Future Work Given the limited timeframe, I focused on implementing the core functionalities of the project. However, there are several areas where the project could be improved or expanded in the future:

Error Handling: Enhance error handling to provide users with more informative messages when something goes wrong.

Tests: Implement test cases to ensure the stability and correctness of the application.

User Profile: Allow users to update their profiles and upload avatars.

Favorite Pictures: Add a feature that allows users to mark pictures as favorites.

Pagination: Implement pagination for the cat pictures to improve the browsing experience.

Caching: Consider implementing caching mechanisms to reduce the number of API requests.

Security: Review security measures to ensure the application is protected against common vulnerabilities.

Code Refactoring: Look for opportunities to optimize the codebase and adhere to best practices.

Thank you for taking the time to review my tech test project. I look forward to discussing it further and exploring how we can enhance this project together.

Best regards, Steve Légère

About

Laravel and PHP tech test

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors