Skip to content

Este proyecto es una base inicial para sistemas SAAS (Software as a Service) utilizando Laravel e Inertia.js.

Notifications You must be signed in to change notification settings

geekhadev/laravel-admin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Admin template Laravel/React

License Version

Dashboard

This project is an initial base for SAAS (Software as a Service) systems using Laravel and React.

About template

  • 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)
  • mail
  • notifications (reverb)
  • auth
  • users
  • modules
  • companies
  • roles
  • permissions

Installation

  1. Clone the repository

    git clone https://github.com/geekhadev/laravel-admin-template.git
  2. Configure .env file

    cp .env.example .env
  3. Install PHP dependencies

    composer install
  4. Install JavaScript dependencies

    pnpm install
  5. Run migrations

    php artisan migrate
  6. Run seeders (optional)

    php artisan db:seed
  7. Run backend development server

    php artisan serve
  8. 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

Commands

  • 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.

Configurations in Google

Gmail

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

Configurations in AWS

S3

How to configure the S3 bucket in AWS:

In this video explain how to configure the S3 bucket in AWS.

Configurar Discord

  • 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

Configurar Telegram

  • 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}

Contributing

Thank you for considering contributing to the template! The contribution guide can be found in the Contributing document.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Changelog

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.

License

The template is open-sourced software licensed under the MIT license.

Support

For any inquiries or support, please contact me at khalisser@gmail.com or connect with me on LinkedIn.

About

Este proyecto es una base inicial para sistemas SAAS (Software as a Service) utilizando Laravel e Inertia.js.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Languages