https://github.com/dexbytesinfotech/laravel-api
Laravel Auth API is a Complete Build of Laravel 9 with Admin and Store owner login with Admin User Roles and Permissions, User Profiles, and user, store, Faq, blogs management system and more . [Admin Panel] (https://github.com/dexbytesinfotech/livewire)
https://github.com/dexbytesinfotech/laravel-api
blog-api firebase-push-notification laravel laravel-api laravel-file-upload livewire livewire-admin-panel login login-oauth mobile-app-api otp-verification pages-api passport role-permission-management swagger-api user-management-system
Last synced: about 1 month ago
JSON representation
Laravel Auth API is a Complete Build of Laravel 9 with Admin and Store owner login with Admin User Roles and Permissions, User Profiles, and user, store, Faq, blogs management system and more . [Admin Panel] (https://github.com/dexbytesinfotech/livewire)
- Host: GitHub
- URL: https://github.com/dexbytesinfotech/laravel-api
- Owner: dexbytesinfotech
- Created: 2023-08-13T18:35:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-18T02:25:51.000Z (over 1 year ago)
- Last Synced: 2025-12-28T19:10:26.519Z (5 months ago)
- Topics: blog-api, firebase-push-notification, laravel, laravel-api, laravel-file-upload, livewire, livewire-admin-panel, login, login-oauth, mobile-app-api, otp-verification, pages-api, passport, role-permission-management, swagger-api, user-management-system
- Language: PHP
- Homepage:
- Size: 1.56 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## laravel API
## Lib
- Laravel 9.x
- Twillo (SMS)
- Firebase (Push Notifications)
# Installation
1. Run git clone https://github.com/dexbytesinfotech/laravel-api.git laravel-api
2. Create a MySQL database for the project - `laravel-example`
3. From the projects root run `cp .env.example .env`
4. Configure your `.env` file
5. From the projects root folder run `composer update`
6. From the projects root folder run `php artisan key:generate`
7. From the projects root folder run `php artisan migrate:fresh --seed`
8. From the projects root folder run `composer dump-autoload`
9. From the projects root folder run `php artisan storage:link`
10. From the projects root folder run `php artisan l5-swagger:generate` (https://github.com/DarkaOnLine/L5-Swagger)
11. From the projects root folder run (local) `php artisan schedule:work` for server use supervisor
12. From the projects root folder run (local) `php artisan schedule:work` for server use scheduling * * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
# Admin Panel
1. Project https://github.com/dexbytesinfotech/livewire should be after installed API code in your server or machine
### Storage folder Ownership and Permission
1. Check the permissions on the storage directory: `chmod -R 775 storage`
1. Check the ownership of the storage directory: : `chown -R www-data:www-data storage`
### Seeds
##### Seeded Roles
* Unverified
* User
* Admin
* Manager
##### Seeded Users
|Email|Password|Access|
|:------------|:------------|:------------|
|admin@admin.com|admin123|Admin Access|
### API keys
- [Google Maps API v3 Key](https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key)
- [Firebase Server Key] (https://firebase.google.com/)
- [Twilio SMS API Key](https://www.twilio.com/blog/create-sms-portal-laravel-php-twilio)
- [Unifonic SMS API Key](https://docs.unifonic.com/docs/getting-sms-application-1)
## Remove public from url
```bash
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
```
## Cron Jobs
1. Send scheduled push notification `Push\NotificationController@sendScheduledPushNotification`