For this project, I utilized Laravel's HTTP Client to create a Github API endpoint that retrieves and stores the top 30 repositories. Additionally, I optimized the data using Cache to enhance its performance. I also ensured clean code by utilizing Blade components.
- Auto Update Repositories Daily Using Task Scheduler
- Custom Artisan Command To Update The Repositories
- Super Simple With Modern Layout
- Laravel Breeze Installed By Default
Please check the Laravel Official Documentation installation guide for server requirements before you start.
First, clone this repo
git clone https://github.com/alnahian2003/gittu.git
Switch to the repo folder
cd gittu
Install all the dependencies using composer and npm
composer install
npm install
Copy the .env.example
file and make the required configuration changes in the .env file
cp .env.example .env
Generate a new application key
php artisan key:generate
Run the database migrations (Set the database connection in .env before migrating)
php artisan migrate
Start the local development server
php artisan serve
You can now access the server at http://localhost:8000.
All the command list
git clone https://github.com/alnahian2003/gittu.git
cd gittu
composer install
npm install
cp .env.example .env
php artisan key:generate
php artisan migrate
php artisan serve
Client Side: Blade, Breeze, TailwindCSS
Server Side: PHP, Laravel
You can clone and use this repo for reference and to practice more effectively. You don't even need to provide any backlink for that. Happy to help!
Don't miss out my latest Laravel Tips and Tricks on Twitter For support, contact me or pull an issue.