The forthcoming chat application will be developed utilizing the Laravel framework, specifically integrating the Laravel Jetstream starter kit, Inertia stack, Vue 3, and, naturally, Tailwind CSS.
After you have installed PHP and Composer, you may create a new Laravel project (Chat-app) via the Composer create-project command:
composer create-project laravel/laravel chat-app
cd chat-app
Laravel Jetstream is a beautifully designed application starter kit for Laravel and provides the perfect starting point for your next Laravel application. Jetstream provides the implementation for your application's login, registration, email verification, two-factor authentication, session management, API via Laravel Sanctum, and optional team management features.
composer require laravel/jetstream
php artisan jetstream:install inertia --pest
npm install
npm run build
php artisan migrate
Run the following command to set up the database and generate two users, each owning a chat:
php artisan migrate --seed
Start the development server:
npm run dev
Visit http://chat-app.test/ and log in as one of the generated users to start chatting.