This is a basic web-application based messaging app with functionality of personal and group chats. It enables user to chat with registered users and also create groups. Application is developed using Laravel along with MySQL (Eloquent ORM).
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.4 php7.4-curl php7.4-xml php7.4-mysql php7.4-json php7.4-cli
curl -sS https://getcomposer.org/installer | php7.4
sudo mv composer.phar /usr/local/bin/composer
sudo update-alternatives --set php /usr/bin/php7.4
sudo apt install mysql-server
sudo systemctl start mysql
sudo systemctl enable mysql
sudo mysql_secure_installation
-
Clone the repository
git clone https://github.com/vpatel95/MesApp.git && cd MesApp
-
Duplicate the
.env.example
and rename it.env
and fill in your database details -
Set the
BROADCAST_DRIVER
in your.env
file to pusher:BROADCAST_DRIVER=pusher
-
Then fill in your Pusher app credentials in your
.env
file:PUSHER_APP_ID=xxxxxx PUSHER_APP_KEY=xxxxxxxxxxxxxxxxxxxx PUSHER_APP_SECRET=xxxxxxxxxxxxxxxxxxxx PUSHER_APP_CLUSTER=
-
Run command in terminal
composer install
-
Build the application CSS and JS
npm install npm run dev
-
Run command in terminal
php artisan key:generate
-
Create the database in MySQL and run the command in terminal
php artisan migrate
-
Finally run the command
php artisan serve
-
Access the application at http://localhost:8000/