/livewirechat

Realtime Laravel chatting aplication with livewire

Primary LanguagePHP

LivewireChat

About the project

LivewireChat is a web application inspired by Facebook's Messenger. This project was my the first hands-on work with "real" front-end technologies, thanks to Livewire. Altough it is a smaller project, it still has some of the more basic functions like user registering, authenticating, authorizing using email verification. The application supports both dark and light mode depending on user's browser settings.

Technologies used to accomplish this solution are:

Try it yourself!

First you need to clone the repository.

git clone https://github.com/svareX/livewirechat

Then install all the package and dependencies.

composer install

After that you need to setup an .env file (use the .env.example as a template)

copy .env.example .env

Generate a new application key

php artisan key:generate

Install front-end packages

npm install

Compile front-end assets in real-time

npm run dev

Now, you must leave this terminal window running and open a new one!

Create your database table.

php artisan migrate

While you have a local database server like XAMPP Then all you need to do is to start a local Laravel server.

php artisan serve

Image gallery

Sn-mek-obrazovky-2023-08-31-204025

Fire-Shot-Capture-019-Laravel-localhost

License

MIT License

Copyright (c) [2023]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.