adliih/laravel-breeze-react-render

The Laravel Template charged with Breeze (react) and Render-deployable

1.0.0 2023-05-06 00:31 UTC

This package is auto-updated.

Last update: 2024-04-13 20:08:46 UTC


README

The Laravel Template charged with Breeze (react) and Render-deployable

Development

Install PHP Dependencies

docker run --rm -v $PWD:/app composer install

Run Application

./sail up

This also run npm run dev that will watch the package that we use on react part

You can access the application at localhost

Deploying on Render

Reference: Render Blog

  1. Create a new Webservice with Docker run type
  2. Add the required environment:
    1. DB_CONNECTION
    2. DATABASE_URL: e.g for mysql connection: mysql://user_name:some_password@somedomain.com/database_name
    3. APP_KEY: Copy value from ./sail php artisan key:generate --show
  3. Deploy