This project is an initial base for SAAS (Software as a Service) systems using Laravel and React.
- code quality
- commitlint
- precommit configurations
- prepush configurations
- docker services
- github actions
- semantic versioning
- changelog
- pint
- eslint
- prettier
- unit tests (pest)
- unit tests (vitest)
- e2e tests (playwright)
- cache (redis)
- logging (sentry)
- notifications (reverb)
- auth
- users
- modules
- companies
- roles
- permissions
-
Clone the repository
git clone https://github.com/geekhadev/laravel-admin-template.git
-
Configure
.env
filecp .env.example .env
-
Install PHP dependencies
composer install
-
Install JavaScript dependencies
pnpm install
-
Run migrations
php artisan migrate
-
Run seeders (optional)
php artisan db:seed
-
Run backend development server
php artisan serve
-
Run frontend development server
pnpm run dev
Note: You can change the database credentials in the
.env
file. And if not have the database, you can create with docker compose.
docker compose up -d
- Run lint (JavaScript)
pnpm run lint
- Run Pint (PHP)
pnpm run pint
- Run format (JavaScript)
pnpm run format
- Test sentry integration
pnpm run sentry:test
- Run unit tests
pnpm run vitest
- Run e2e tests console
pnpm run playwrite
- Run e2e tests ui
pnpm run playwrite --ui
- Run generator interface tests
pnpm run playwright codegen
- Run unit tests or integration tests (PHP)
pnpm run pest
These commands help to keep the code clean and functional before committing to the repository.
How to configure the Gmail for send mail:
- Go to Google Account
- Find "Create and manage application passwords"
- Create a new password for the application
- Use the password in the .env file
How to configure the S3 bucket in AWS:
In this video explain how to configure the S3 bucket in AWS.
- Ve al canal de texto en Discord donde deseas recibir las alertas.
- Haz clic en el ícono de configuración del canal.
- Ve a la sección Integraciones y selecciona Crear Webhook.
- Asigna un nombre al webhook y copia la URL generada.
- Agrega a las variables de entorno la url de tu webhook
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/XXXXXXXXX/YYYYYYYYY
- En la aplicación de Telegram enviar un mensaje '/newbot' a @BotFather y seguir las instrucciones para crear el bot.
- Una vez creado, copiar el token proporcionado y copiar en las variables de entorno como TELEGRAM_BOT_TOKEN={API_TOKEN_OBTENIDO}
Thank you for considering contributing to the template! The contribution guide can be found in the Contributing document.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
You can view the application changelog by visiting the /changelog
path in your browser.
And there is a path in the project /changelog where the content is represented in the Changelog file.
The template is open-sourced software licensed under the MIT license.
For any inquiries or support, please contact me at khalisser@gmail.com or connect with me on LinkedIn.