I noticed that there is a significant surge in AI applications build by NextJS & 3rd-party APIs. No doubt, NextJS is a great framework and developers love it. But,
I thought, why not Laravel & React?
So, I created a similar open-source application using Laravel and ReactJS to help new developers learn and understand how to create an AI application using Laravel and ReactJS.
- PHP 8.1 or higher
- Composer 2.5 or higher
- NodeJS 18 or higher
- NPM 8 or higher
- MySQL 8 or higher
- AWS S3 Bucket
- Replicate API Key
- Clone the repository
git clone
- Create a
.env
file and copy the contents from.env.example
- Update the
.env
file with- Database credentials
- Google login credentials
- AWS S3 credentials & bucket details
- Replicate API Key
- Run
composer install
- Run
npm install
- Run
php artisan serve
- Run
npm run dev
- Now, you can access the application at
http://localhost:8000
- Laravel - The PHP Framework
- InertiaJS - To Build Single-page Apps
- ReactJS - Library for user interfaces
- TailwindCSS - The CSS Framework
- shadcn/ui - Designed components
- MySQL - The Database
- Vultr - Cloud Server
- Forge - Server Management
- Cloudflare - DNS Management
This project is open-sourced software licensed under the MIT license.