- Laravel 9.x
- Twillo (SMS)
- Firebase (Push Notifications)
- Run git clone https://github.com/dexbytesinfotech/laravel-api.git laravel-api
- Create a MySQL database for the project - laravel-example
- From the projects root run cp .env.example .env
- Configure your .envfile
- From the projects root folder run composer update
- From the projects root folder run php artisan key:generate
- From the projects root folder run php artisan migrate:fresh --seed
- From the projects root folder run composer dump-autoload
- From the projects root folder run php artisan storage:link
- From the projects root folder run php artisan l5-swagger:generate(https://github.com/DarkaOnLine/L5-Swagger)
- From the projects root folder run (local) php artisan schedule:workfor server use supervisor
- From the projects root folder run (local) php artisan schedule:workfor server use scheduling * * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
- Project https://github.com/dexbytesinfotech/livewire should be after installed API code in your server or machine
- Check the permissions on the storage directory: chmod -R 775 storage
- Check the ownership of the storage directory: : chown -R www-data:www-data storage
- Unverified
- User
- Admin
- Manager
| Password | Access | |
|---|---|---|
| admin@admin.com | admin123 | Admin Access | 
- 
[Firebase Server Key] (https://firebase.google.com/) 
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteRule ^(.*)$ public/$1 [L]
</IfModule>- Send scheduled push notification Push\NotificationController@sendScheduledPushNotification