This software handles public-facing routes, user registration/login, and performs single sign-on (SSO) with the internal software app using shared authentication cookies.
- PHP >= 8.1
- Composer
- MySQL
- Node.js & NPM
- Laravel 11.x
- Laravel Inertia & Vue
git clone https://github.com/iamrokon/software.app.git
cd software.app
cp .env.example .env
composer install
# Configure .env:
# APP_KEY must be same in both app, share the same DB and SESSION_DOMAIN
APP_KEY=base64:moQKB51Cs1PzsHSA1gPOaYIt3VaYw6iLUDhPLtW41BM=
APP_URL=http://software.app.test
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_COOKIE=laravel_sso
SESSION_DOMAIN=.app.test
SESSION_SECURE_COOKIE=false
SESSION_SAME_SITE=lax
php artisan migrate
npm install && npm run dev
Hit http://software.app.test