Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/levi-hessmann/laravel-react-tailwind
A Laravel Breeze template, to the best understanding of next.js developers.
https://github.com/levi-hessmann/laravel-react-tailwind
Last synced: about 1 month ago
JSON representation
A Laravel Breeze template, to the best understanding of next.js developers.
- Host: GitHub
- URL: https://github.com/levi-hessmann/laravel-react-tailwind
- Owner: Levi-Hessmann
- License: mit
- Created: 2024-03-08T13:48:29.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-09T18:09:48.000Z (7 months ago)
- Last Synced: 2024-11-07T18:15:43.148Z (3 months ago)
- Language: PHP
- Size: 347 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel React Template
This is a template for a Laravel and React application. Best to understand for Next.js Developers. If you're still struggling follow along:
### Whats inside?
- Laravel 10
- React 18
- Lucide React Icons
- Vite
- Tailwind CSS
- Prettier (+ JetBrains IDE Configuration)
- GitHub Workflow for Code Style and Tests## Preperation
After you created the repository from this template you need to install the dependencies for the Laravel and React application.
```bash
composer installnpm install # or yarn, pnpm, ...
```## Development
To start the development server for the Laravel application you can use the following command:
```bash
php artisan serve
```And in a different terminal window the vite server for the React application:
```bash
npm run dev
```### Environment Variables
Just copy the `.env.example` file to `.env` and fill in the necessary environment variables.
### React?
The React application is located in the `resources/js` directory. You can start developing your React application there.
## Deployment
For deployment, you should read the [official documentation](https://laravel.com/docs/10.x/deployment) from Laravel.
## Issues
### My GitHub Pipeline keeps failing
Run the following command to fix the code style:
```bash
npm run format
```