Chat application developed to enable instant communication between users, combining a REST API in PHP with Laravel and a VueJS frontend interface. The solution integrates Sockets using Laravel Echo and Pusher, allowing real-time updates of messages and notifications, providing a smooth and responsive user experience in collaborative environments.
- Node.js 16.1.0
- npm 7.11.2
- PHP 7.3.21
- Laravel 7.0
- Clone this repository
- Configure your environment variables for Pusher and Laravel by copying the
.env.exampleto.env - You need a valid account on Pusher.com.
- Run composer install
- Run npm install
- Set your Database credentials on .env file
- Run the migrations with php artisan migrate
- Optionally you can run the seeders for some data samples adding --seed to the above command.
- Run your local server with php artisan serve
You can watch the app live on: https://fokochat.click/
User-demo: [email protected] Password: demosecret
Or just register and start to talk with friends.
You can know more about me on: https://fernandocueto.com/
method: put
/api/profile/{user}
method: get
/api/profile/{user}
method: get
/api/users/{user}/conversations
method: post
/api/conversations
method: get
/api/messages/{conversation}
method: post
/api/messages
method: post
/api/invite
method: get
/api/invitations/{user}
method: put
/api/invitations/{invitation}/deny
- Requires authentication. As of now, this can only be achieved by logging in manually on the website.
⭐ If you like this project, ¡give it a star on GitHub!