Skip to content

Mohsen-mhm/ChitLara

Repository files navigation

Laravel Logo

About project

This is a real-time web chat app with Laravel, Reverb & Redis.

  • PHP
  • Laravel
  • Reverb ( WebSocket, Laravel-Echo )
  • Redis
  • Redis-server
  • Js
  • Alpine.js
  • Tailwind - Flowbite

Getting Started

Clone the project repository by running the command below if you use SSH

git clone git@github.com:Mohsen-mhm/ChitLara.git

If you use https, use this instead

git clone https://github.com/Mohsen-mhm/ChitLara.git

After cloning, run:

composer install

and:

npm install

Duplicate .env.example and rename it .env

Then run:

php artisan key:generate

Prerequisites

install Redis


Database Migrations

Be sure to fill in your database details in your .env file before running the migrations:

php artisan migrate

Run Redis server in CLI :

redis-server

Run npm in CLI :

npm run dev #For development server
npm run build #For production server

And finally, start the application:

php artisan storage:link
php artisan serve
php artisan reverb:start

visit http://localhost:8000 to see the application in action.