An open API service indexing awesome lists of open source software.

https://github.com/syntaxlexx/laravelte

Laravel 10 ft. Inertiajs, Svelte, Typescript, TailwindCSS, Github CI/CD and Pest Tests
https://github.com/syntaxlexx/laravelte

githubactions inertiajs laravel laravel-actions svelte tailwindcss typescript

Last synced: 3 months ago
JSON representation

Laravel 10 ft. Inertiajs, Svelte, Typescript, TailwindCSS, Github CI/CD and Pest Tests

Awesome Lists containing this project

README

        

![Laravelte Logo](public/img/laravelte-logo-full.png "text")

![workflow](https://github.com/SyntaxLexx/laravelte/actions/workflows/deploy-ci.yml/badge.svg)

[![Buy Premium Version on Gumroad](public/img/gumroad-button.jpg)](https://syntaxlexx.gumroad.com/l/xfqol)

> The premium version contains a lot more code, tests, and 'swagger' than the open-source version.

[Click here to view the Premium Version Online Demo](https://laravelte.acelords.com)

![Screenshot 1](public/img/laravelte-screenshot-1.jpg)
![Screenshot 2](public/img/laravelte-screenshot-2.jpg)
![Screenshot 3](public/img/laravelte-screenshot-3.jpg)
![Screenshot 4](public/img/laravelte-screenshot-4.jpg)

## About Laravelte

Laravelte is an entire webapp based on the [Laravel](https://laravel.com) web application framework and [Svelte](https://svelte.com) frontend. The main goals of this project is to provide a quick way to get started with your projects.

[TODO List Found Here](TODO.md)

>NB: In this project, we shift our focus from "What controllers do I need?", "should I make a FormRequest for this?", "should this run asynchronously in a job instead?", etc.

to
> "What does my application actually do?" Kinda like RPC

It features:
- [All Laravel Features](https://laravel.com).
- Light & Dark Mode.
- Quick Frontend Scaffolding via [Svelte](https://svelte.com) via [Inertiajs](https://inertiajs.com). Svelte is extremely fast, and provides less boilerplate as compared to [Vue](https://vuejs.org) and [React](https://react.com).
- Different **Admin** and **User** dashboard support.
- CI/CD via [Github Actions](https://github.com/).
- [Laravel Actions](https://laravelactions.com/): Instead of creating controllers, jobs, listeners and so on, it allows you to create a PHP class that handles a specific task and run that class as anything you want.
- [Redis support](https://laravel.com/docs/queues) and Laravel Queues.
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
- [i18N (Localization) - Multiple languages support](https://laravel.com/docs/10.x/localization#main-content).

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Tooling:
- Vite v4
- Typescript
- TailwindCSS
- pnpm
- Laravel 10
- Laravel Sanctum
- Svelte 3
- Pest PHP Testing Library

### Testing
The project uses [Pest Testing Library](https://pestphp.com/) that is fantastic to use.

Tests have been grouped to:
```bash
# All tests
php artisan test

# Browser tests
php artisan test --group=browser

# api tests
php artisan test --group=api

# Setup tests
php artisan test --group=setup

# test in parallel
php artisan test --parallel
php artisan test --parallel --processes=4

# list of your ten slowest tests
php artisan test --profile
```

## Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

## Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

## Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed.

## License

The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).