This is an extension to the vilt stack starter kit that I maintain with Laravel Fortify preinstalled as well as using the recommended methodology for form control and Vue components and layouts, remniscent of the old Vue Breeze starterkit.
This version includes TypeScript, contrary to the original repository which contains JavaScript.
What's included (out of the box):
- Registration
- Authentication
- 2FA management (see
auth/TwoFactorChallenge.vueandauth/TwoFactorSetup.vuefor a working example) - 2FA verification (when enabled, prompted every login)
- Email verification (prompted when using the
verifiedmiddleware) - Password confirmation (prompted when using the
password.confirmmiddleware) - Forgot your password e-mail
All that's left for you to configure is the mail configuration which can be adjusted in the .env file with the MAIL_ prefix.
Either click the Use this template button and make a new repository, or:
# clone the repo
git clone https://github.com/DignitySAMP/vilt-stack-fortify
cd vilt-stack-fortify
# install node and composer packages
npm install
composer install
# copy .env, set up app key and create database
cp .env.example
php artisan key:generate
php artisan migrate # 'yes' when prompted to make sqlite database, OR go to .env and configure your own database
# migrations, seeding (optional)
php artisan migrate --seed # remove the --seed if you don't wish to seed
# seeding creates a test user: test@example.com:test@example.com
# running
npm run dev
php artisan serve