View Code? Open in Web Editor
NEW
Twilio API, Laravel, React
Home Page: https://laravel-twilio.surge.sh/
Shell 0.63%
PHP 58.88%
JavaScript 27.10%
Blade 11.23%
HTML 1.05%
CSS 1.11%
laravel-twilio's Introduction
- Clone this repository
git clone https://github.com/myonaingwinn/laravel-twilio.git
.
- Run
composer install
.
- Run
cd frontend && npm install
.
Backend
- Run
cp .env.example .env && php artisan key:generate
.
- Enter your twilio account info in that .env file.
Frontend
- Run
cd frontend && cp .env.example .env
.
- Enter Backend's BaseURL in that .env file.
For example,
REACT_APP_BASE_URL=http://localhost:8000/api/v1
- Frontend -
cd frontend && npm start
.
- Backend -
php artisan serve
.
laravel-twilio's People
Stargazers
Watchers
laravel-twilio's Issues
Create new folder inside component
- frontend/src/compoents/Login
Create API to login user
- create login post request
- When login success, return user object with success msg and status code
Same Twilio Account
- Must be same Twilio account and keys to join from other users
Whether VPN used or not
- This app can help
ngrok http --host-header=rewrite localhost:3000
.
Create new directory
- frontend/src/components/ChatRoom
Create Chat panel
Create new folder inside components
- frontend/src/components/Room
Create API to get Room List
- get room's informations such as
- name
- status