My personal website built with Laravel and Tailwind CSS.
engetschwiler/
app/ # Application business logic
bootstrap/ # Laravel bootstrap files
config/ # Configuration files
public/ # Public entry point (index.php, assets)
resources/ # Views, CSS and JavaScript
css/ # CSS files
js/ # JavaScript files
views/ # Blade templates
routes/ # Route definitions
storage/ # Generated files (logs, cache, etc.)
tests/ # Automated tests
vendor/ # PHP dependencies (Composer)
node_modules/ # JavaScript dependencies (npm/yarn)
.env.example # Configuration template
composer.json # PHP dependencies
package.json # JavaScript dependencies
vite.config.js # Vite configuration
- PHP >= 8.3
- Composer
- Node.js and npm (or yarn)
- A web server (Apache, Nginx) or use Laravel's built-in server
git clone <repo-url>
cd engetschwilercomposer installnpm install
# or
yarn installcp .env.example .env
php artisan key:generateEdit the .env file according to your needs (database, etc.).
composer devThis command starts simultaneously:
- Laravel server (port 8000)
- Vite server for hot-reload assets
Or run services separately:
# Laravel server only
php artisan serve
# Compile assets in development mode
npm run devThe site will be accessible at: http://localhost:8000
npm run buildcomposer test
# or
php artisan test./vendor/bin/pint- Backend: Laravel 12
- Frontend: Tailwind CSS 4
- Build tool: Vite
- Package manager: Composer (PHP), npm/yarn (JavaScript)
- Create a route in
routes/web.php - Create a controller in
app/Http/Controllers/(optional) - Create a view in
resources/views/
- CSS files are located in
resources/css/ - The project uses Tailwind CSS for styling
- Changes are automatically reloaded in development mode
- JS files are located in
resources/js/ - Changes are automatically reloaded in development mode
MIT