EchoLink is a real-time chat application built with Laravel, Laravel Reverb, Inertia.js, and React.
- PHP 8.1 or higher
- Composer
- Node.js and NPM
- MySQL or another database supported by Laravel
- Git
- Clone the repository:
git clone https://github.com/KaushalCXXAI/EchoLink.git
cd EchoLink
- Install PHP dependencies:
composer install
- Install JavaScript dependencies:
npm install
- Create a copy of the
.env.examplefile and rename it to.env. Update the database configuration in the.envfile.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=echolink
DB_USERNAME=root
DB_PASSWORD=
- Generate the application key:
php artisan key:generate
- Configure your database in the
.envfile:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=echolink
DB_USERNAME=root
DB_PASSWORD=
- Run the database migrations:
php artisan migrate
- Link storage:
php artisan storage:link
You can start all required services using the included batch file:
- Run the
start-services.batfile by double-clicking it or running it from the command line:
start-services.bat
This will start:
- Laravel development server
- Vite development server for frontend assets
- Laravel Reverb WebSocket server
- Laravel Queue
The application will automatically open in your default browser at http://localhost:8000.
If you prefer to start services manually, open separate terminal windows and run:
- Laravel development server:
php artisan serve
- Vite development server for frontend assets:
npm run dev
- Laravel Reverb WebSocket server:
php artisan reverb:serve
- Laravel Queue :
php artisan queue:listen
Then visit http://localhost:8000 in your browser.
- Real-time messaging
- Group conversations
- File sharing
- User management
- Admin controls