This repository is a Laravel + Inertia + Svelte 5 + Progressive Web App (PWA) Starter Kit, designed to help you kickstart your web application development. It integrates modern tools like SQLite, Bun, TailwindCSS and ShadCN UI to provide a fully functional foundation for building reactive and scalable web applications.
Clone the Repository:
git clone https://github.com/oseughu/larasvelte.git
cd larasvelte
Install PHP dependencies (this also sets up the SQLite database and the .env file):
composer install
Run the following command to start up everything (Backend Server, Frontend Server, Queue, and Mailer):
composer run dev
The codebase includes an example of subdomain routing configured in the RouteServiceProvider. The subdomain routing example is specifically for an admin panel and uses routes/admin.php.
If subdomain routing is not required for your project, you can remove it by either: 1. Commenting out or deleting the configuration in the RouteServiceProvider. 2. Removing the routes/admin.php file.
This starter kit is preconfigured as a Progressive Web App (PWA), enabling offline functionality and native app-like behaviour.
To customise the behaviour or appearance of the PWA:
public/service-worker-template.js file to control how the service worker handles caching and offline functionality.public/manifest-template.json file to define the app’s metadata (e.g., name, theme colour, icons).No other files need to be modified for PWA customization.
This starter kit is highly customizable! Clone the repository and delete any files or features you don’t need. It’s flexible enough to support a wide range of use cases, from small side projects to large-scale applications.
I welcome contributions! Whether it’s bug fixes, feature additions, or general improvements, feel free to submit a pull request.
I regularly update packages and dependencies to ensure the codebase stays modern and secure.
Happy coding! 🚀