The real-time chat experience you've been waiting for. Fast, secure, and built with the modern stack for people who value speed.
Backend:
Frontend:
Follow these instructions to get the project up and running on your local machine.
Clone the repository:
git clone https://github.com/abu_jandal/PG-chatting-app.git
cd PG-chatting-app
Install PHP dependencies:
composer install
Install JavaScript dependencies:
pnpm install
Set up your environment:
cp .env.example .env
php artisan key:generate
.env file.Run database migrations:
php artisan migrate
To run the application, you need to start the Laravel development server, the Vite development server, and the Reverb WebSocket server.
Start the Laravel development server:
php artisan serve
Start the Vite development server:
pnpm dev
Start the Reverb WebSocket server:
php artisan reverb:start
or you can just run the following and everything will startup automaticly:
composer run dev
Now, you can access the application at the URL provided by php artisan serve (usually http://127.0.0.1:8000).
This project uses ESLint for linting and Prettier for code formatting.
eslint .
pnpm lint
pnpm format:check
pnpm format
This project is open-source and available under the MIT License.